Browser Automation - "Failed to find or click on element..."

Options
David_931366
David_931366 Posts: 53
edited September 2020 in Questions

I have an urgent browser automation I am working on and I have run into a roadblock. A button on the web page is unclickable by the automation, but is otherwise not unusual. Other elements on the same view work fine. When viewing the recording, I see that the button is slightly off screen and for a normal user would require using the scrollbar inside the webpage (not the browser scrollbar). Could that be the issue? This is not an iframe, it is a modal. I can scroll with my mouse but not with any keystrokes. Any ideas on how I can click on this button in a modal?

Best Answer

  • David_931366
    David_931366 Posts: 53
    Answer ✓
    Options

    Okay, I have solved my own problem! Apparently there was a "accept cookie" banner on the bottom of the screen that was blocking the button. I added a click action to accept the cookies and all is good!