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

Defined in:
rb/lib/selenium/webdriver/common/driver_extensions/has_apple_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

Instance Method Details

#permissionsHash

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.

Returns permissions.

Returns:

  • (Hash)


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

def permissions
  @bridge.permissions
end

#permissions=(permissions) ⇒ 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.

Sets permissions.

Examples:

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

Parameters:

  • permissions (Hash<Symbol, Boolean>)


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

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