Module: Selenium::WebDriver::DriverExtensions::HasPermissions Private
- Defined in:
- lib/selenium/webdriver/common/driver_extensions/has_permissions.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
-
#add_permission(name, value) ⇒ Object
private
Set one permission.
-
#add_permissions(opt) ⇒ Object
private
Set multiple permissions.
Instance Method Details
#add_permission(name, value) ⇒ 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.
Set one permission.
31 32 33 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_permissions.rb', line 31 def (name, value) @bridge.(name, value) end |
#add_permissions(opt) ⇒ 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.
Set multiple permissions.
41 42 43 44 45 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_permissions.rb', line 41 def (opt) opt.each do |key, value| @bridge.(key, value) end end |