You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use I.closeApp() in an Appium test against Android device.
Appium docs for closeApp() says that it's allowed on Android/UiAutomator
What do you get instead?
CodeceptJS allows it for iOS only. node_modules/codeceptjs/docs/build/Appium.js:
/** * Close the given application. * * ```js * I.closeApp(); * ``` * * Appium: support only iOS */asynccloseApp(){onlyForApps.call(this,'iOS');returnthis.browser.closeApp();}
Note that I created the same method (without blocking of Android platform) in my custom helper and it works well with Android: