Skip to main content
Version: Next

Options interface

Signature

export interface ComputeExecutablePathOptions

Properties

Property

Modifiers

Type

Description

Default

browser

Browser

Determines which browser to launch.

buildId

string

Determines which buildId to download. BuildId should uniquely identify binaries and they are used for caching.

cacheDir

string | null

Root path to the storage directory.

Can be set to null if the executable path should be relative to the extracted download location. E.g. ./chrome-linux64/chrome.

platform

optional

BrowserPlatform

Determines which platform the browser will be suited for.

Auto-detected.