MCPcopy
hub / github.com/SeleniumHQ/selenium / startDesktopMirroring

Method startDesktopMirroring

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

* Initiates desktop mirroring for the current browser tab on the specified device. * * @param {String} deviceName name of the target device. * @return {!promise.Thenable } A promise that will be resolved * when the mirror command has been issued to the device.

(deviceName)

Source from the content-addressed store, hash-verified

811 * when the mirror command has been issued to the device.
812 */
813 startDesktopMirroring(deviceName) {
814 return this.execute(new command.Command(Command.START_CAST_DESKTOP_MIRRORING).setParameter('sinkName', deviceName))
815 }
816
817 /**
818 * Initiates tab 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