puppeteer/docs/browsers-api/browsers.options.md

21 lines
1.4 KiB
Markdown
Raw Normal View History

---
sidebar_label: Options
---
# Options interface
#### Signature:
```typescript
2023-04-06 12:50:22 +00:00
export interface ComputeExecutablePathOptions
```
## Properties
| Property | Modifiers | Type | Description | Default |
| -------- | --------------------- | ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | ------------------ |
| browser | | [Browser](./browsers.browser.md) | Determines which browser to launch. | |
| buildId | | string | Determines which buildId to download. BuildId should uniquely identify binaries and they are used for caching. | |
| cacheDir | | string | Root path to the storage directory. | |
| platform | <code>optional</code> | [BrowserPlatform](./browsers.browserplatform.md) | Determines which platform the browser will be suited for. | **Auto-detected.** |