123456789_123456789_123456789_123456789_123456789_

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

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
Defined in: rb/lib/selenium/webdriver/edge/features.rb

Constant Summary

  • EDGE_COMMANDS =
    # File 'rb/lib/selenium/webdriver/edge/features.rb', line 28
    {
      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

::Selenium::WebDriver::Chromium::Features - Included

CHROMIUM_COMMANDS

Instance Attribute Summary

Instance Method Summary

Instance Method Details

#command_list

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/edge/features.rb', line 38

def command_list
  EDGE_COMMANDS.merge(CHROMIUM_COMMANDS).merge(self.class::COMMANDS)
end

#commands(command)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/edge/features.rb', line 42

def commands(command)
  command_list[command]
end