I was following your answer in one of the question asked by students in thread httpwwwtestautomationgurucomselenium-webdriver-how-to-handle-annoying-random-popup-alerts.
I am not sure how to get the xpath through scripts. Can you please redirect to videos or links.
Instructoraditya Reply on 29/11/2018
android:id/button1 corresponds to id of button on popup
Suppose if the pop has two buttons, which button it will click with this pop up?
Instructoraditya Reply on 11/12/2018
then you need to automate the whole dialog