* Uninstalls an addon from the current browser session's profile. * * @param {(string|!Promise )} id ID of the addon to uninstall. * @return {!Promise} A promise that will resolve when the operation has * completed. * @see #installAddon * @deprecated Use {@link #uninstal
(id)
| 589 | * @deprecated Use {@link #uninstallWebExtension} instead. |
| 590 | */ |
| 591 | async uninstallAddon(id) { |
| 592 | webdriver.WebDriver.logger.deprecate( |
| 593 | 'firefox-uninstallAddon', |
| 594 | 'firefox.Driver#uninstallAddon() is deprecated. Use driver.uninstallWebExtension() instead.', |
| 595 | ) |
| 596 | id = await Promise.resolve(id) |
| 597 | return this.execute(new command.Command(ExtensionCommand.UNINSTALL_ADDON).setParameter('id', id)) |
| 598 | } |
| 599 | |
| 600 | /** |
| 601 | * Installs a browser extension. Works with remote (Grid) sessions. Uses BiDi when the session |
no test coverage detected