Module: Selenium::WebDriver::Edge::Features

Includes:
Chrome::Features
Defined in:
rb/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 Chrome::Features

Chrome::Features::CHROME_COMMANDS

Instance Method Summary collapse

Methods included from Chrome::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

#commands(command) ⇒ Object



39
40
41
# File 'rb/lib/selenium/webdriver/edge/features.rb', line 39

def commands(command)
  EDGE_COMMANDS[command] || Chrome::Features::CHROME_COMMANDS[command] || self.class::COMMANDS[command]
end