MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / grabCurrentActivity

Method grabCurrentActivity

lib/helper/Appium.js:815–818  ·  view source on GitHub ↗

* Get current device activity. * * ```js * let activity = await I.grabCurrentActivity(); * ``` * * @return {Promise } * * Appium: support only Android

()

Source from the content-addressed store, hash-verified

813 * Appium: support only Android
814 */
815 async grabCurrentActivity() {
816 onlyForApps.call(this, supportedPlatform.android)
817 return this.browser.getCurrentActivity()
818 }
819
820 /**
821 * Get information about the current network connection (Data/WIFI/Airplane).

Callers 3

Appium_test.jsFile · 0.80
AppiumTs.types.tsFile · 0.80
Appium.types.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected