Module: Selenium::WebDriver::Edge::Features
- Includes:
- Chromium::Features
- Defined in:
- lib/selenium/webdriver/edge/features.rb
Constant Summary collapse
- EDGE_COMMANDS =
{ get_cast_sinks: [:get, 'session/:session_id/ms/cast/get_sinks'], set_cast_sink_to_use: [:post, 'session/:session_id/ms/cast/set_sink_to_use'], start_cast_tab_mirroring: [:post, 'session/:session_id/ms/cast/start_tab_mirroring'], start_cast_desktop_mirroring: [:post, 'session/:session_id/ms/cast/start_desktop_mirroring'], get_cast_issue_message: [:get, 'session/:session_id/ms/cast/get_issue_message'], stop_casting: [:post, 'session/:session_id/ms/cast/stop_casting'], send_command: [:post, 'session/:session_id/ms/cdp/execute'] }.freeze
Constants included from Chromium::Features
Chromium::Features::CHROMIUM_COMMANDS
Instance Method Summary collapse
Methods included from Chromium::Features
#available_log_types, #cast_issue_message, #cast_sink_to_use=, #cast_sinks, #delete_network_conditions, #launch_app, #log, #network_conditions, #network_conditions=, #send_command, #set_permission, #start_cast_desktop_mirroring, #start_cast_tab_mirroring, #stop_casting
Instance Method Details
#command_list ⇒ Object
38 39 40 |
# File 'lib/selenium/webdriver/edge/features.rb', line 38 def command_list EDGE_COMMANDS.merge(CHROMIUM_COMMANDS).merge(self.class::COMMANDS) end |
#commands(command) ⇒ Object
42 43 44 |
# File 'lib/selenium/webdriver/edge/features.rb', line 42 def commands(command) command_list[command] end |