Module: Selenium::WebDriver::DriverExtensions::HasPermissions Private
Relationships & Source Files | |
Defined in: | rb/lib/selenium/webdriver/common/driver_extensions/has_permissions.rb |
Instance Method Summary
-
#add_permission(name, value)
Internal use only
Set one permission.
-
#add_permissions(opt)
Internal use only
Set multiple permissions.
Instance Method Details
#add_permission(name, value)
Set one permission.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_permissions.rb', line 31
def (name, value) @bridge. (name, value) end
#add_permissions(opt)
Set multiple permissions.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_permissions.rb', line 41
def (opt) opt.each do |key, value| @bridge. (key, value) end end