* Get current device activity. * * ```js * let activity = await I.grabCurrentActivity(); * ``` * * @return {Promise } * * Appium: support only Android
()
| 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). |
no outgoing calls
no test coverage detected