Repository navigation
v0.18.0
Jev Browser 0.18.0
This minor release runs the SDK inside Cloudflare Workers, Durable Objects and Agents
with Cloudflare Browser Run. It has no breaking changes to the exported API.
Upgrading from 0.17.0
No code or configuration change is required for Node, the CLI or MCP.
@tontoko/jev-browser/workers.launchBrowserRun(env.BROWSER, options)opens a Browser Run
browser through its binding and@cloudflare/playwright(add it to the Worker; it is an optional
peer dependency) and returns{ browser, sessionId }. Options are the SDK'sJevBrowseroptions
plusrecording,keepAliveandcontextOptions(for example a viewport). Closing the JevBrowser
closes the Browser Run browser.attachBrowserRunPage(page, options)attaches a page you opened
yourself. Enablenodejs_compatin the Worker.- Import-safe in workerd. Nothing reads package files at import,
playwright-coreis loaded only
byJevBrowser.launch(), and page functions are sent as source text (Workers forbidnew Function). - Cancellation on Browser Run.
@cloudflare/playwright1.3.6 is based on Playwright 1.58.2 and
ignores AbortSignal options, so on Browser Run cancellation is bounded by Jev's own deadlines. - The internal
playwrightCoreVersionis now a function (it was a string constant).
Installation
npm install --save-dev https://github.com/tontoko/jev-browser/releases/download/v0.18.0/tontoko-jev-browser-0.18.0.tgz
npx jev-browser install chromiumFor Workers, also npm install @cloudflare/playwright.
npm 7+ and pnpm install the playwright-core and zod peers automatically;
with Yarn Berry, add them explicitly:
yarn add -D ./tontoko-jev-browser-0.18.0.tgz playwright-core zod.
This is GitHub Release tarball distribution, not an npm registry publication.
Verification and recovery follow the 0.10.0 notes: publication happens from CI
only after every platform job succeeds and never overwrites an existing tag.
Source: 62fdc6378eb8b8efb659bda524b6adb610469005
Verification: https://github.com/tontoko/jev-browser/actions/runs/39050291770