Class Cast
java.lang.Object
org.openqa.selenium.devtools.v85.cast.Cast
A domain for interacting with Cast, Presentation API, and Remote Playback API
functionalities.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void>
disable()
Stops observing for sinks and issues.static org.openqa.selenium.devtools.Command<Void>
Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well.static org.openqa.selenium.devtools.Event<String>
static org.openqa.selenium.devtools.Command<Void>
setSinkToUse
(String sinkName) Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK.static org.openqa.selenium.devtools.Command<Void>
startTabMirroring
(String sinkName) Starts mirroring the tab to the sink.static org.openqa.selenium.devtools.Command<Void>
stopCasting
(String sinkName) Stops the active Cast session on the sink.
-
Constructor Details
-
Cast
public Cast()
-
-
Method Details
-
enable
Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well. When sinks are found, a |sinksUpdated| event is fired. Also starts observing for issue messages. When an issue is added or removed, an |issueUpdated| event is fired. -
disable
Stops observing for sinks and issues. -
setSinkToUse
Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK. -
startTabMirroring
Starts mirroring the tab to the sink. -
stopCasting
Stops the active Cast session on the sink. -
sinksUpdated
-
issueUpdated
-