Issue
when I open a particular webpage it has a EULA form that appears on top of the home page in the form of a modal in HTML/CSS. I have tried the XPath of the accept button but it says element not found also tried using handle alert. is there a unique way to handle a dialogue box in robotframework? image of HTML in inspect view
Solution
SeleniumLibrary.Set Focus To Element ${button_on_popup_page}
SeleniumLibrary.Click Element ${button_on_popup_page}
I figured it out, shown in the above code. I first set focus to the button and then used the click element. This seemed to work.
Answered By - Aditya
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.