InstalledBrowser 类
¥InstalledBrowser class
签名
¥Signature
export declare class InstalledBrowser
备注
¥Remarks
此类的构造函数被标记为内部构造函数。第三方代码不应直接调用构造函数或创建扩展 InstalledBrowser 类的子类。
¥The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the InstalledBrowser class.
属性
¥Properties
属性 | 修饰符 | 类型 | 描述 |
|---|---|---|---|
| browser | |||
| buildId | string | ||
| 可执行路径 |
| string | |
| path |
| string | 安装文件夹的根路径。使用 computeExecutablePath() 获取可执行二进制文件的路径。 |
| platform |
方法
¥Methods
方法 | 修饰符 | 描述 |
|---|---|---|
| readMetadata() | ||
| writeMetadata(metadata) |