123456789_123456789_123456789_123456789_123456789_

Module: Selenium::WebDriver::DriverExtensions::HasApplePermissions Private

Instance Attribute Summary

Instance Attribute Details

#permissionsHash (rw)

Returns permissions.

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_apple_permissions.rb', line 30

def permissions
  @bridge.permissions
end

#permissions=(permissions) (rw)

Sets permissions.

Examples:

driver.permissions = {'getUserMedia' => true}

Parameters:

  • permissions (Hash<Symbol, Boolean>)
[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_apple_permissions.rb', line 43

def permissions=(permissions)
  @bridge.permissions = permissions
end