BROWSER click function

Clicks on a specified element within the browser.

Help CentreBuilding Processes

This article describes the RPA Browser functionality to click on a specified element within a browser.

For a full list of available functions, please read BROWSER functions.


Description

The BROWSER click function allows you to simulate a mouse click on a specified element within the browser, similar to clicking on a link or button in a standard web browser.


Setting it up

To use the BROWSER click function, follow these instructions:

{{popups:rpas/add:action=browser-click}}

Once on a process map:

  1. Navigate to the process where you would like to add the BROWSER click function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the BROWSER click option.
  5. Click "Add" once you are done

Inputs

  • Element: The selector used to identify the element to be clicked. This can be an XPath, CSS selector, or other supported selector types.
  • Scroll into view: Select to bring the element into view before clicking on the element
  • Visible only: Select to only click on visible elements

Input parameters

ParameterRequiredTypeDefaultDescription
Element selectorYesTextXPath, CSS selector, ID, or other selector to identify the element.
Selector typeYesSelectXPathMethod used to locate the element: XPath, CSS, ID, Name, Text, Class.
Force clickNoBooleanOffForce click even if the element is obscured.
Scroll into viewNoBooleanOffScroll the page to bring the element into view before clicking.
Visible onlyNoBooleanOffOnly click if the element is visible.

Output variables

This action does not produce any output variables.


Errors

ErrorDescription
Element not foundThe specified element could not be found on the page.
Element not clickableThe element exists but cannot be clicked.
TimeoutThe element did not appear within the timeout period.

Tips

  • Use CSS selectors for better performance than XPath.
  • Enable 'Scroll into view' for elements below the fold.

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.