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

26 lines
784 B
Markdown
Raw Normal View History

---
sidebar_label: PuppeteerNode.defaultArgs
---
# PuppeteerNode.defaultArgs() method
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class PuppeteerNode {
defaultArgs(options?: BrowserLaunchArgumentOptions): string[];
}
```
## Parameters
| Parameter | Type | Description |
| --------- | --------------------------------------------------------------------------- | --------------------------------------------------------------- |
| options | [BrowserLaunchArgumentOptions](./puppeteer.browserlaunchargumentoptions.md) | _(Optional)_ Set of configurable options to set on the browser. |
**Returns:**
string\[\]
The default flags that Chromium will be launched with.