The ‘Click’ action is how you navigate your site and will be your primary method for moving through different pages or performing functions. A similar action is ‘MouseOver’ which hovers over an element without performing the click. This is particularly useful for pop-up windows to simulate a user hovering over a menu to display more options
A common step is clicking through to a new page. We would recommend a click at the start of the step followed by a ‘Wait for Element’ to allow the page to load and finally a Capture.
To actually create the step you will need to input the selector into the ‘Selector’ field. In the optional fields there is also the option to change the selector type however we recommend staying with ‘cssSelector’ if possible.
The ‘Comment’ displays the purpose of the Action such as ‘Click on Product’ and will make the script easier to decipher in the future or for colleagues. Finally the ‘OnErrorMessage’ text box is the message that will display on a failure, for example ‘Failed to click on Product’. This is essential for debugging as it will be the error message sent to your inbox and displayed when a failure has occurred.