cdpfleet Docs Sign up free

Launch options

main_world_eval

Allow scripts in the page's main world.

Use it for: Reading values exactly as the page's own scripts see them, and calling functions the page defines, from page.evaluate.

Browsers: Camoufox.

Details

Enables page.evaluate("mw:" + script) to run in the page's own JavaScript world instead of an isolated one.

Main-world scripts are visible to the page.

Used in

All options: launch options.