Module: Selenium::WebDriver::DriverExtensions::HasAddons Private

Included in:
Firefox::Marionette::Driver
Defined in:
lib/selenium/webdriver/common/driver_extensions/has_addons.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#install_addon(path, temporary = nil) ⇒ String

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Installs addon.


33
34
35
# 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) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Uninstalls addon.


43
44
45
# File 'lib/selenium/webdriver/common/driver_extensions/has_addons.rb', line 43

def uninstall_addon(id)
  @bridge.uninstall_addon(id)
end