MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / setCastSinkToUse

Method setCastSinkToUse

javascript/selenium-webdriver/chromium.js:803–805  ·  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

801 * when the target device has been selected to respond further webdriver commands.
802 */
803 setCastSinkToUse(deviceName) {
804 return this.execute(new command.Command(Command.SET_CAST_SINK_TO_USE).setParameter('sinkName', deviceName))
805 }
806
807 /**
808 * 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