module Selenium::WebDriver::DriverExtensions::HasAddons

Public Instance Methods

install_addon(path, temporary = nil) click to toggle source

Installs addon.

@param [String] path Full path to addon file @param [Boolean] temporary @return [String] identifier of installed addon

# File lib/selenium/webdriver/common/driver_extensions/has_addons.rb, line 33
def install_addon(path, temporary = nil)
  @bridge.install_addon(path, temporary)
end
uninstall_addon(id) click to toggle source

Uninstalls addon.

@param [String] id Identifier of installed addon

# File lib/selenium/webdriver/common/driver_extensions/has_addons.rb, line 43
def uninstall_addon(id)
  @bridge.uninstall_addon(id)
end