Module: Selenium::WebDriver::Safari::Features
Relationships & Source Files | |
Defined in: | rb/lib/selenium/webdriver/safari/features.rb |
Constant Summary
-
SAFARI_COMMANDS =
# File 'rb/lib/selenium/webdriver/safari/features.rb', line 25
{ get_permissions: [:get, 'session/:session_id/apple/permissions'], set_permissions: [:post, 'session/:session_id/apple/permissions'], attach_debugger: [:post, 'session/:session_id/apple/attach_debugger'] }.freeze
Instance Attribute Summary
Instance Method Summary
Instance Attribute Details
#permissions (rw)
[ GitHub ]# File 'rb/lib/selenium/webdriver/safari/features.rb', line 39
def execute(: )['permissions'] end
#permissions=(permissions) (rw)
[ GitHub ]# File 'rb/lib/selenium/webdriver/safari/features.rb', line 43
def ( ) execute :, {}, {permissions: } end
Instance Method Details
#attach_debugger
[ GitHub ]# File 'rb/lib/selenium/webdriver/safari/features.rb', line 47
def attach_debugger execute :attach_debugger, {}, {} end
#command_list
[ GitHub ]# File 'rb/lib/selenium/webdriver/safari/features.rb', line 31
def command_list SAFARI_COMMANDS.merge(self.class::COMMANDS) end
#commands(command)
[ GitHub ]# File 'rb/lib/selenium/webdriver/safari/features.rb', line 35
def commands(command) command_list[command] end