Module: Selenium::WebDriver::DriverExtensions::HasCasting
- Defined in:
- lib/selenium/webdriver/common/driver_extensions/has_casting.rb
Instance Method Summary collapse
-
#cast_issue_message ⇒ String
Gets error messages when there is any issue in a Cast session.
-
#cast_sink_to_use=(name) ⇒ Object
Sets a specific sink, using its name, as a Cast session receiver target.
-
#cast_sinks ⇒ Array
What devices (“sinks”) are available to be cast to.
-
#start_cast_desktop_mirroring(name) ⇒ Object
Starts a tab mirroring session on a specific receiver target.
-
#start_cast_tab_mirroring(name) ⇒ Object
Starts a tab mirroring session on a specific receiver target.
-
#stop_casting(name) ⇒ Object
Stops the existing Cast session on a specific receiver target.
Instance Method Details
#cast_issue_message ⇒ String
Gets error messages when there is any issue in a Cast session.
71 72 73 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 71 def @bridge. end |
#cast_sink_to_use=(name) ⇒ Object
Sets a specific sink, using its name, as a Cast session receiver target.
41 42 43 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 41 def cast_sink_to_use=(name) @bridge.cast_sink_to_use = name end |
#cast_sinks ⇒ Array
What devices (“sinks”) are available to be cast to.
31 32 33 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 31 def cast_sinks @bridge.cast_sinks end |
#start_cast_desktop_mirroring(name) ⇒ Object
Starts a tab mirroring session on a specific receiver target.
61 62 63 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 61 def start_cast_desktop_mirroring(name) @bridge.start_cast_desktop_mirroring(name) end |
#start_cast_tab_mirroring(name) ⇒ Object
Starts a tab mirroring session on a specific receiver target.
51 52 53 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 51 def start_cast_tab_mirroring(name) @bridge.start_cast_tab_mirroring(name) end |
#stop_casting(name) ⇒ Object
Stops the existing Cast session on a specific receiver target.
81 82 83 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 81 def stop_casting(name) @bridge.stop_casting(name) end |