Browser.uninstallExtension() 方法
🌐 Browser.uninstallExtension() method
卸载扩展程序。在 Chrome 中,只有当浏览器是使用 pipe: true 创建并且设置了 --enable-unsafe-extension-debugging 标志时才可用。
🌐 Uninstalls an extension. In Chrome, this is only available if the browser was created using pipe: true and the --enable-unsafe-extension-debugging flag is set.
语法
🌐 Signature
class Browser {
abstract uninstallExtension(id: string): Promise<void>;
}
参数
🌐 Parameters
范围 🌐 Parameter | 类型 🌐 Type | 描述 🌐 Description |
|---|---|---|
id | string |
返回:
Promise<void>