puppeteer/website/versioned_docs/version-22.8.1/api/puppeteer.puppeteernode.executablepath.md

49 lines
524 B
Markdown
Raw Normal View History

2022-10-21 13:52:43 +00:00
---
sidebar_label: PuppeteerNode.executablePath
---
# PuppeteerNode.executablePath() method
The default executable path.
2022-10-24 14:31:12 +00:00
#### Signature:
2022-10-21 13:52:43 +00:00
```typescript
class PuppeteerNode {
executablePath(channel?: ChromeReleaseChannel): string;
}
```
## Parameters
<table><thead><tr><th>
2022-10-21 13:52:43 +00:00
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
channel
</td><td>
[ChromeReleaseChannel](./puppeteer.chromereleasechannel.md)
</td><td>
_(Optional)_
</td></tr>
</tbody></table>
2022-10-21 13:52:43 +00:00
**Returns:**
string