Skip to main content

Module browser

Module browser 

Source
Expand description

BrowserJs: JS wrapper around ferridriver::Browser.

Exposes browser.newContext(options?) so scripts can exercise ferridriver::options::BrowserContextOptions at its natural Playwright entry point. The browser global is installed by crate::bindings::install_browser when the run context carries a Browser handle (see engine::RunContext). Tests that only need the ambient context can continue to ignore it.

Playwright reference: /tmp/playwright/packages/playwright-core/types/types.d.ts:22229 (BrowserContextOptions) and :9851 (browser.newContext).

Structsยง

BrowserJs