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

Method startDesktopMirroring

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

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