Microsoft Edge pop up message

please kindly advise,how to handle browser prpompt up in Robotframework,using Python ,since I can not use inspect to identify the xpath of accept or reject

image

Hi Sam,

First thing I would do is get robot to take a screenshot with whichever library you are using and see if it’s in the screenshot? If it’s not I’d ignore it and not bother trying to clear it.

Sometimes if you’re lucky these popups are outside the frame/tab of the browser (part of the window not the tab) and so they don’t affect the automation

Otherwise you might need to try something like Wait For Alert or Handle Alert

Dave.