clickAt(locator, coordString) - Selenium IDE command

clickAt has a locator and "coordString", which specifies the x,y position (i.e. - 10,20) of the mouse event relative to the element returned by the locator.

Clicks on a link, button, checkbox or radio button. If the click action causes a new page to load (like a link usually does), call waitForPageToLoad.

click is used when you just want to "click" on an element, like a button, a link, and so on. And clickAt is used when you want to "click" on a position designated by mouse coordinates. If you have a page with form elements, links, buttons, and stuff like that, you'll probably generally use click : it's way easier to find an element using it's id or classname than having to find it's position in pixels on the page.

clickAtAndWait is not supported in the new IDE, as it is not needed. The same effect can be achieved combining ClickAt with waitForPageToLoad.

clickAt Example

Command Target Pattern/Text
open https://a9t9.com/
clickAt css=.... 10,20

Works in

Kantu for Chrome Selenium IDE, Firefox IDE Classic

Related Demo Macros

Demo-Autofill, Demo-Frame

The ready-to-import-and-run source code of all demo macros can be found in the Github repository testmacros folder.

See also

click, Web Automation Extension User Manual, Selenium IDE commands, Classic Firefox Selenium IDE.

Anything wrong or missing on this page? Suggestions?

...then please contact us.

Kantu Selenium IDE for Chrome and Firefox - Web Test Automation
Subscribe to the a9t9 automation software newsletter . We'll send you updates on new releases that we're working on.