puppeteer/docs/api/puppeteer.browserlaunchargumentoptions.md
jrandolf f07ad2c661
fix: update documentation on configuring puppeteer (#9150)
This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.

Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
2022-10-24 09:07:05 +02:00

2.4 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 | 'chrome' (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.