跳至主要内容
版本: 23.11.1

选项接口

签名

export interface ComputeExecutablePathOptions

属性

属性

修饰符

类型

描述

默认值

browser

Browser

确定要启动的浏览器。

buildId

string

确定要下载的 buildId。BuildId 应该唯一标识二进制文件,它们用于缓存。

cacheDir

string

存储目录的根路径。

platform

可选

BrowserPlatform

确定浏览器将适用于哪个平台。

自动检测。