puppeteer/website/versioned_docs/version-22.4.1/api/puppeteer.defaultargs.md

22 lines
785 B
Markdown
Raw Normal View History

---
sidebar_label: defaultArgs
---
# defaultArgs() function
#### Signature:
```typescript
defaultArgs: (options?: import("puppeteer-core/internal/puppeteer-core.js").BrowserLaunchArgumentOptions | undefined) => string[]
```
## Parameters
| Parameter | Type | Description |
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| options | import("puppeteer-core/internal/puppeteer-core.js").[BrowserLaunchArgumentOptions](./puppeteer.browserlaunchargumentoptions.md) \| undefined | _(Optional)_ |
**Returns:**
string\[\]