puppeteer/website/versioned_docs/version-19.1.0/api/puppeteer.puppeteernode.defaultargs.md

798 B

sidebar_label
PuppeteerNode.defaultArgs

PuppeteerNode.defaultArgs() method

Signature:

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

Parameters

Parameter Type Description
options BrowserLaunchArgumentOptions (Optional) Set of configurable options to set on the browser.

Returns:

string[]

The default flags that Chromium will be launched with.