selenium-webdriverselenium-rc

Clicking at coordinates without identifying element


As part of my Selenium test for a login function, I would like to click a button by identifying its coordinates and instructing Selenium to click at those coordinates. This would be done without identifying the element itself (via id, xpath, etc).

I understand there are other more efficient ways to run a click command, but I'm looking to specifically use this approach to best match the user experience.


Solution

  • Selenium won't let you do this.