Module: Selenium::WebDriver::DriverExtensions::HasCasting
Relationships & Source Files | |
Defined in: | rb/lib/selenium/webdriver/common/driver_extensions/has_casting.rb |
Instance Attribute Summary
-
#cast_sink_to_use=(name)
writeonly
Sets a specific sink, using its name, as a Cast session receiver target.
Instance Method Summary
-
#cast_issue_message ⇒ String
Gets error messages when there is any issue in a Cast session.
-
#cast_sinks ⇒ Array
What devices (“sinks”) are available to be cast to.
-
#start_cast_desktop_mirroring(name)
Starts a tab mirroring session on a specific receiver target.
-
#start_cast_tab_mirroring(name)
Starts a tab mirroring session on a specific receiver target.
-
#stop_casting(name)
Stops the existing Cast session on a specific receiver target.
Instance Attribute Details
#cast_sink_to_use=(name) (writeonly)
Sets a specific sink, using its name, as a Cast session receiver target.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 40
def cast_sink_to_use=(name) @bridge.cast_sink_to_use = name end
Instance Method Details
#cast_issue_message ⇒ String
Gets error messages when there is any issue in a Cast session.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 70
def @bridge. end
#cast_sinks ⇒ Array
What devices (“sinks”) are available to be cast to.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 30
def cast_sinks @bridge.cast_sinks end
#start_cast_desktop_mirroring(name)
Starts a tab mirroring session on a specific receiver target.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 60
def start_cast_desktop_mirroring(name) @bridge.start_cast_desktop_mirroring(name) end
#start_cast_tab_mirroring(name)
Starts a tab mirroring session on a specific receiver target.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 50
def start_cast_tab_mirroring(name) @bridge.start_cast_tab_mirroring(name) end
#stop_casting(name)
Stops the existing Cast session on a specific receiver target.
# File 'rb/lib/selenium/webdriver/common/driver_extensions/has_casting.rb', line 80
def stop_casting(name) @bridge.stop_casting(name) end