How can I automate of closing the "Restore Pages" popup in Chrome?

How can I automate of closng the “Restore Pages” popup in Chrome using OpenRPA?
The close (X) button isn’t interactable or detectable via selectors, and it blocks interaction with the main page. What’s the best way to handle or bypass this popup?

Yes, that one is a little tricky. The popup is a Windows dialog, but when you use the recorder, it sees you are inside Chrome and expects only web elements.
Add a Get Element from under the OpenRPA.Windows category, and then open the selector window and then select the button inside the dialog. Now you can add a click element.

This is also shown here: https://www.youtube.com/watch?v=Xj_OBD2P2dk

1 Like

Thanks Allan for the video, it worked.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.