Interface HasExtensions

All Known Implementing Classes:
FirefoxDriver

@Beta public interface HasExtensions
Used by classes to indicate that they can install and uninstall browser extensions on the fly.
  • Method Details

    • installExtension

      String installExtension(Path path)
      Installs an extension.
      Parameters:
      path - absolute path to the extension file that should be installed.
      Returns:
      the unique identifier of the installed extension.
    • installExtension

      String installExtension(Path path, Boolean temporary)
    • uninstallExtension

      void uninstallExtension(String extensionId)
      Uninstall the extension by the given identifier. This value can be found in the extension's manifest, and typically ends with "@mozilla.org".
      Parameters:
      extensionId - The unique extension identifier returned by {installExtension(Path)}