BrowserLauncher 类
¥BrowserLauncher class
描述启动器 - 能够创建和启动浏览器实例的类。
¥Describes a launcher - a class that is able to create and launch a browser instance.
签名
¥Signature
export declare abstract class BrowserLauncher
备注
¥Remarks
此类的构造函数被标记为内部构造函数。第三方代码不应直接调用构造函数或创建扩展 BrowserLauncher
类的子类。
¥The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the BrowserLauncher
class.
属性
¥Properties
属性 | 修饰符 | 类型 | 描述 |
---|---|---|---|
browser |
|
方法
¥Methods
方法 | 修饰符 | 描述 |
---|---|---|
defaultArgs(object) | ||
executablePath(channel, validatePath) | ||
launch(options) |