Click Element


Searches the webpage for the element that matches the specified criteria, and then simulates a click on it.

Parameters

  • Page name Specifies the page to be read. The webpage should be opened or connected before executing this action.

  • Locate element by its path in page Specifies the element path in the page. For example: <HTML>.<BODY>.<H1>(2). For more information about the element path, please click here.

  • Locate element by its attributes

    • Element type must be Specifies the type of the element.

    • ID must be Specifies the element ID.

    • Name must be Specifies the element name.

    • Display text must be Specifies the display text for the element.

    • URL must be The option is for the hyperlink element.

    • Index of elements that match criteria Specifies the position of matched elements collection when more than one element meet the criteria.

    • Searching in main frame Specifies whether to search for the element in the main frame in the webpage.

    • Frame name must be Specifies the frame name if searching for the element in a specified frame.

    • Index of frames that match criteria If more than one frame has the same name, specifies the index of the frames collection.

    • Form name must be Specifies the form name if searching for the element in a specified form.

    • Index of forms that match criteria If more than one form has the same name, specifies the index of the forms collection.

    • Element attributes Specifies an attributes filter for the searching, using the standard HTML syntax, for example: id="abc" name="login"

    • Match case Specifies whether the search is case-sensitive.

    • Match whole word Specifies whether to search only for whole words that match the search content.

    • Only visible element Specifies whether to ignore the hidden elements.

  • Click action Specifies how to carry out the clicking, it can be on of the following:

    1. Auto
    2. Click
    3. Only fire click event
    4. Fire click event and then click
  • After clicking Specifies whether to wait for the content of page to complete downloading.

  • Double click Specifies whether to double-click or click the element on the page.

  • Return URL into variable Specifies the variable to hold the URL after clicking.

Notes:

  • For more information about timeout, please refer to "Timeout".
  • For more information about the element path, please click here.