Skip to main content
Version: 24.38.0

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

属性

🌐 Property

修饰符

🌐 Modifiers

类型

🌐 Type

描述

🌐 Description

browser

readonly

支持的浏览器

方法

🌐 Methods

方法

🌐 Method

修饰符

🌐 Modifiers

描述

🌐 Description

defaultArgs(object)
executablePath(channel, validatePath)
launch(options)