Options 接口
🌐 Options interface
语法
🌐 Signature
export interface ComputeExecutablePathOptions
属性
🌐 Properties
|
属性 🌐 Property |
修饰符 🌐 Modifiers |
类型 🌐 Type |
描述 🌐 Description |
默认 🌐 Default |
|---|---|---|---|---|
|
browser |
确定要启动的浏览器。 🌐 Determines which browser to launch. | |||
|
buildId |
string |
确定要下载哪个 buildId。BuildId 应该唯一标识二进制文件,并且它们用于缓存。 🌐 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 | ||
|
platform |
|
确定浏览器适合哪个平台。 🌐 Determines which platform the browser will be suited for. |
自动检测。 |