bun-webview
Installation
SKILL.md
Bun WebView Skill
When to Use This Skill
Use this skill when you are:
- Creating a desktop window or browser automation target with Bun's
Bun.WebViewAPI - Loading HTML, navigating to URLs, or evaluating JavaScript in a page
- Documenting or implementing
Bun.WebViewconstructor options - Looking up instance methods such as
navigate(),evaluate(),screenshot(),click(),type(),press(),scroll(),resize(),goBack(),goForward(),reload(), orcdp() - Using page state properties like
view.url,view.title, andview.loading - Handling
EventTargetevents, especially Chrome backend CDP events dispatched asMessageEvent - Configuring backend selection, console capture, and persistent profiles
Product Summary
Bun.WebView is available starting in Bun v1.3.12.
Bun's Bun.WebView API provides a native webview/browser automation surface you can create directly from Bun. It supports multiple backends, including WebKit and Chrome, and is intended for lightweight desktop apps, internal tools, testing flows, and browser-driven automation without a full Electron-style stack.