puppeteer/website/versioned_docs/version-10.1.0/puppeteer.browserlaunchargumentoptions.md
2021-08-10 11:09:48 +01:00

1.3 KiB

Home > puppeteer > BrowserLaunchArgumentOptions

BrowserLaunchArgumentOptions interface

Launcher options that only apply to Chrome.

Signature:

export interface BrowserLaunchArgumentOptions 

Properties

Property Type Description
args? string[] (Optional) Additional command line arguments to pass to the browser instance.
devtools? boolean (Optional) Whether to auto-open a DevTools panel for each tab. If this is set to true, then headless will be set to false automatically.
headless? boolean (Optional) Whether to run the browser in headless mode.
userDataDir? string (Optional) Path to a user data directory. see the Chromium docs for more info.