Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 2.37 KB

puppeteer.browserlaunchargumentoptions.md

File metadata and controls

23 lines (17 loc) · 2.37 KB
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.