puppeteer/website/versioned_docs/version-19.7.3/api/puppeteer.browserlaunchargumentoptions.md
release-please[bot] 101fcb994e
chore: release main (#9789)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-06 14:53:56 +01:00

2.3 KiB

sidebar_label
BrowserLaunchArgumentOptions

BrowserLaunchArgumentOptions interface

Launcher options that only apply to Chrome.

Signature:

export interface BrowserLaunchArgumentOptions

Properties

Property Modifiers Type Description Default
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. false
headless? boolean | 'new' (Optional) Whether to run the browser in headless mode. true
userDataDir? string (Optional) Path to a user data directory. see the Chromium docs for more info.