When Bun v1.3.12 was released last week, they subtly included a powerful feature, almost under the radar: WebView. It's like Playwright/Puppeteer but more limited, especially in terms of documentation. I built a demo app based on it called html-getter which you can use like this: bun run src/html-getter.ts https://www.peterbe.com That will open https://www.peterbe.com with Chrome or Chromium or WebKit and evaluate the following JavaScript expression: document.documentElement.outerHTML (whi...
No comments yet. Log in to reply on the Fediverse. Comments will appear here.