r/selenium • • Aug 02 '21

Selenium clicks the wrong element

This is an odd bug that's been annoying me for a while. I have selenium move to an element with an action chain, and I can see that it has properly moved there since the selected item is highlighted. However when I tell it to click it somehow clicks an element nearby instead. Any clue as to why?

0 Upvotes

4 comments sorted by

View all comments

1

u/tbaxterstockman Aug 02 '21

Does it work without selenium? could it be that there is another element overlapping?