I'm working on the Android and iOS app automation using the WebdriverIO. I'm unable to inspect the pop up in the browser stack inspect view.
Could you please assist on this?
I tried with browser.dismissAlert() and it worked.
In the page file, I defined this function like this:
page.js
async popupHandle() {
browser.dismissAlert()
}
In the test file, I use it like this:
test.js
await page.popupHandle()