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

Method androidActivity

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

* Sets the name of the activity hosting a Chrome-based Android WebView. This * option must be set to connect to an [Android WebView]( * https://chromedriver.chromium.org/getting-started/getting-started---android) * * @param {string} name The activity name. * @return {!Options} A self

(name)

Source from the content-addressed store, hash-verified

417 * @return {!Options} A self reference.
418 */
419 androidActivity(name) {
420 this.options_.androidActivity = name
421 return this
422 }
423
424 /**
425 * Sets the device serial number to connect to via ADB. If not specified, the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected