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

Method setAdbPort

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

* Sets which port adb is listening to. _The driver will connect to adb * if an plain Options#androidPackage Android session is requested, but * adb **must** be started beforehand._ * * @param {number} port Which port adb is running on. * @return {!ServiceBuilder} A self referen

(port)

Source from the content-addressed store, hash-verified

180 * @return {!ServiceBuilder} A self reference.
181 */
182 setAdbPort(port) {
183 return this.addArguments('--adb-port=' + port)
184 }
185
186 /**
187 * Sets the path of the log file the driver should log to. If a log file is

Callers

nothing calls this directly

Calls 1

addArgumentsMethod · 0.45

Tested by

no test coverage detected