CLICK

From iMacros
Jump to: navigation, search

"Clicks" on the HTML element at the specified X/Y coordinates. The zero position (origin) of the coordinate system is in the top left corner of the webpage. The x axis is positive to the right, the y axis is positive downwards.

To record a CLICK command set the ClickMode to "Use X/Y position" during recording.

Note: This CLICK command must not be confused with the DS CMD=CLICK command, which is designed to work with Flash, Silverlight (etc.) applets, but, of course, also works with HTML.

Syntax Firefox

CLICK X=n Y=m

Parameters

  • X

Specifies the x (horizontal) coordinate of the website element that is to be clicked.

  • Y

Specifies the y (vertical) coordinate of the website element that is to be clicked.

Examples

URL GOTO=http://demo.imacros.net/Automate/TestForm1
' Use CLICK command to select Apple Pie for dessert
CLICK X=316 Y=453

Related forum posts:

See Also

TAG, WINCLICK