puppeteer/website/versioned_docs/version-22.6.5/api/puppeteer.executablepath.md

49 lines
589 B
Markdown
Raw Normal View History

---
sidebar_label: executablePath
---
# executablePath() function
#### Signature:
```typescript
executablePath: (
channel?:
| import('puppeteer-core/internal/puppeteer-core.js').ChromeReleaseChannel
| undefined
) => string;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
channel
</td><td>
import("puppeteer-core/internal/puppeteer-core.js").[ChromeReleaseChannel](./puppeteer.chromereleasechannel.md) \| undefined
</td><td>
_(Optional)_
</td></tr>
</tbody></table>
**Returns:**
string