Back to Puppeteer

PuppeteerNode.defaultArgs() method

docs/api/puppeteer.puppeteernode.defaultargs.md

19.2.2532 B
Original Source

PuppeteerNode.defaultArgs() method

Signature

typescript
class PuppeteerNode {
  defaultArgs(options?: LaunchOptions): string[];
}

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

options

</td><td>

LaunchOptions

</td><td>

(Optional) Set of configurable options to set on the browser.

</td></tr> </tbody></table>

Returns:

string[]

The default arguments that the browser will be launched with.