Skip to main content
Version: 25.12.0

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​

export declare function computeSystemExecutablePath(
options: SystemOptions,
validatePath?: boolean,
): string;

Parameters​

Parameter

Type

Description

options

SystemOptions

validatePath

boolean

(Optional)

Returns:

string