Skip to main content
Version: 24.1.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,
): string;

Parameters

Parameter

Type

Description

options

SystemOptions

Returns:

string