* Uninstalls a browser extension installed with #installWebExtension. Uses BiDi when * the session has it enabled, and otherwise geckodriver's classic addon endpoint. * * @param {!webExtension.WebExtension} extension the extension returned by * #installWebExtension.
(extension)
| 646 | * @override |
| 647 | */ |
| 648 | async uninstallWebExtension(extension) { |
| 649 | const id = webExtension.extensionId(extension) |
| 650 | if (await webExtension.isBidiEnabled(this)) { |
| 651 | return super.uninstallWebExtension(extension) |
| 652 | } |
| 653 | await this.execute(new command.Command(ExtensionCommand.UNINSTALL_ADDON).setParameter('id', id)) |
| 654 | } |
| 655 | |
| 656 | /** |
| 657 | * Take full page screenshot of the visible region |
nothing calls this directly
no test coverage detected