MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / setCastSinkToUse

Method setCastSinkToUse

javascript/selenium-webdriver/chromium.js:802–804  ·  view source on GitHub ↗

* Selects a cast sink (Cast device) as the recipient of media router intents (connect or play). * * @param {String} deviceName name of the target device. * @return {!promise.Thenable } A promise that will be resolved * when the target device has been selected to respond further

(deviceName)

Source from the content-addressed store, hash-verified

800 * when the target device has been selected to respond further webdriver commands.
801 */
802 setCastSinkToUse(deviceName) {
803 return this.execute(new command.Command(Command.SET_CAST_SINK_TO_USE).setParameter('sinkName', deviceName))
804 }
805
806 /**
807 * Initiates desktop mirroring for the current browser tab on the specified device.

Callers

nothing calls this directly

Calls 2

setParameterMethod · 0.80
executeMethod · 0.65

Tested by

no test coverage detected