Back to Puppeteer

PuppeteerNode.executablePath() method

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

19.2.21.2 KB
Original Source

PuppeteerNode.executablePath() method

<h2 id="overload-1">executablePath(): string</h2>

The default executable path for a given ChromeReleaseChannel.

Signature

typescript
class PuppeteerNode {
  executablePath(channel: ChromeReleaseChannel): string;
}

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

channel

</td><td>

ChromeReleaseChannel

</td><td> </td></tr> </tbody></table>

Returns:

string

<h2 id="overload-2">executablePath(): string</h2>

The default executable path given LaunchOptions.

Signature

typescript
class PuppeteerNode {
  executablePath(options: LaunchOptions): string;
}

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

options

</td><td>

LaunchOptions

</td><td> </td></tr> </tbody></table>

Returns:

string

<h2 id="overload-3">executablePath(): string</h2>

The default executable path.

Signature

typescript
class PuppeteerNode {
  executablePath(): string;
}

Returns:

string