Browser::Options

Options for creating browser.

TypeObject

Properties

Boolean devtools

Whether the browser can show devtools, default is false.

Depending on platform, the option to show devtools is usually in the context menu, so you should also enable builtin context menu when using this option.

Currently this option is not working on Windows.

Boolean contextMenu

Whether to use builtin context menu, default is false.

On macOS due to the limitation of system APIs, right-clicking certain elements would still popup a menu with Services items.