Options 接口
¥Options interface
签名
¥Signature
export interface ComputeExecutablePathOptions
属性
¥Properties
属性 | 修饰符 | 类型 | 描述 | 默认 |
---|---|---|---|---|
browser | 确定要启动的浏览器。 | |||
buildId | string | 确定要下载的 buildId。BuildId 应唯一标识二进制文件,并且它们用于缓存。 | ||
cacheDir | 字符串 | null | 存储目录的根路径。 如果可执行文件路径相对于提取的下载位置,则可以设置为 | ||
platform |
| 确定浏览器适合哪个平台。 | 自动检测到。 |