Back to Puppeteer

computeSystemExecutablePath() function

website/versioned_docs/version-24.40.0/browsers-api/browsers.computesystemexecutablepath.md

19.2.2762 B
Original Source

computeSystemExecutablePath() function

Returns a path to a system-wide Chrome installation given a release channel name by checking known installation locations (using https://pptr.dev/browsers-api/browsers.computesystemexecutablepath). If Chrome instance is not found at the expected path, an error is thrown.

Signature

typescript
export declare function computeSystemExecutablePath(
  options: SystemOptions,
): string;

Parameters

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

Parameter

</th><th>

Type

</th><th>

Description

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

options

</td><td>

SystemOptions

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

Returns:

string