Windows Appium Java Client Real Device Chrome
Issue : I am not able to accept or deny the location sharing popup (below image)
Below is the Accept button properties in Native Context .
I tried to change context to Native and tried to click on the accept button by doing
but I am getting no such element exception. However i am able to click on the chrome URL by the same method.
I tried to get the Alert
driver.switchTo().alert().dismiss() but i am getting No Such Alert Exception.
I tried to get the window handlers also but i am getting only one handler.
Is there any way i can click on the Accept Button ? [ Let me know if any one reqire any additional details ]