In My test scenario, I am executing in lambda test provided android device with robot framework, there is a location alert. I need to click on Allow.
I have used the lambda test capabilites in test setup itself. But alert is still visible and need to be clicked.
Could anyone please suggest how to click on location alert Allow using appium library of robot framework in mobile web platform at android device.
OK
Then you need to inspect the dialog elements in a local execution of the app (without the bypass capabilities). When the dialog appears, it is not from your app, but from the Android/iOS system.
You can then blindly tap on Allow button (after some time).
(I don’t use remote Appium services, only local, so this would be my approach)
Another thing you should consider, is the fact that your capabilities being ignored, because the remote service had already created the device instance. See if you can control those pre-test setups.