puppeteer/website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.md
2022-10-14 14:54:46 +02:00

2.2 KiB

sidebar_label
BrowserLaunchArgumentOptions

BrowserLaunchArgumentOptions interface

Launcher options that only apply to Chrome.

Signature:

export interface BrowserLaunchArgumentOptions

Properties

Property Modifiers Type Description
args? string[] (Optional) Additional command line arguments to pass to the browser instance.
debuggingPort? number (Optional)
devtools? boolean (Optional) Whether to auto-open a DevTools panel for each tab. If this is set to true, then headless will be forced to false.
headless? boolean | 'chrome' (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.