How to move the mouse pointer to a specific location or element using C and Selenium?
Hello Ana-sousa,
Rather than trying to get an element just move by offset. Make sure you know what your prior focus is. If the prior focus is none, then it should be in the top left corner of the page. Then put your sleep in the middle and you should be able to see the mouse move, wait, and then click.
Actions action = new Actions(driver); action.MoveByOffset(200,100).Perform(); Thread.Sleep(10000); action.Click();