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

Method androidDeviceSerial

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

* Sets the device serial number to connect to via ADB. If not specified, the * WebDriver server will select an unused device at random. An error will be * returned if all devices already have active sessions. * * @param {string} serial The device serial number to connect to. * @return

(serial)

Source from the content-addressed store, hash-verified

430 * @return {!Options} A self reference.
431 */
432 androidDeviceSerial(serial) {
433 this.options_.androidDeviceSerial = serial
434 return this
435 }
436
437 /**
438 * Sets the package name of the Chrome or WebView app.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected