MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / uninstallAddon

Method uninstallAddon

javascript/selenium-webdriver/firefox.js:591–598  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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

Callers 1

addon_test.jsFile · 0.80

Calls 4

setParameterMethod · 0.80
executeMethod · 0.65
deprecateMethod · 0.45
resolveMethod · 0.45

Tested by

no test coverage detected