1.3 KiB
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. |