Mobile Web Location Permission Popup

Is there a way to click on allow location button in android web browser using appium library of robot framework.
I have tried to control that during device provisioning by providing all possible paramters for geolocation=AE, autoAcceptAlerts=true autoGrantPermissions=true.
As we have in browser library, while launching the browser we say permission= [ ]… do we have something like that in appium library?
Or is there any alternate way to do that?
Looks like the pop-up is from the website itself.
@zastress @damies13

Appium

Hi Pankaj,

Sorry I have never used Appium Library, so I have no idea about configuring it, other than what it says in the documentation.

Hopefully someone more knowledgeable with this library can help you.

Dave.

1 Like

Hi All,

This is fixed. I used below approach to fix it.

2 Likes