puppeteer/new-docs/puppeteer.puppeteer.defaultargs.md
2020-06-25 13:01:46 +02:00

626 B

Home > puppeteer > Puppeteer > defaultArgs

Puppeteer.defaultArgs() method

Signature:

defaultArgs(options?: ChromeArgOptions): string[];

Parameters

Parameter Type Description
options ChromeArgOptions Set of configurable options to set on the browser.

Returns:

string[]

The default flags that Chromium will be launched with.