Back to Puppeteer

DefaultProvider.getExecutablePath() method

website/versioned_docs/version-24.40.0/browsers-api/browsers.defaultprovider.getexecutablepath.md

19.2.2567 B
Original Source

DefaultProvider.getExecutablePath() method

Signature

typescript
class DefaultProvider {
  getExecutablePath(options: {
    browser: Browser;
    buildId: string;
    platform: BrowserPlatform;
  }): string;
}

Parameters

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

Parameter

</th><th>

Type

</th><th>

Description

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

options

</td><td>

{ browser: Browser; buildId: string; platform: BrowserPlatform; }

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

Returns:

string