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

45 lines
595 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
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
options
</td><td>
import("puppeteer-core/internal/puppeteer-core.js").[BrowserLaunchArgumentOptions](./puppeteer.browserlaunchargumentoptions.md) \| undefined
</td><td>
_(Optional)_
</td></tr>
</tbody></table>
**Returns:**
string\[\]