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
-
#install_addon(path, temporary = nil) ⇒ String
private
Installs addon.
-
#uninstall_addon(id) ⇒ Object
private
Uninstalls addon.
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.
31 32 33 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_addons.rb', line 31 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.
41 42 43 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_addons.rb', line 41 def uninstall_addon(id) @bridge.uninstall_addon(id) end |