Skip to main content
Roberty Studio
RPABrowser

Clicking on a text in the browser

Clicking on a text in the browser

Finds and clicks an element on a web page by its visible text, with no CSS selector needed. Good for buttons, links and anything whose text is static and dependable.

Careful

For elements whose text is dynamic, or changes between runs, prefer Click with a CSS selector — it identifies the element far more precisely.


Options​

Browser or page ID​

The browser, tab or iframe opening action where the click happens.

Text​

The visible text of the element to find and click on the page.

Enter the index of the list​

Available when Select the action is set to One item from a selection of multiple elements. The position, among the elements found with that text, of the one to click. The index starts at 0.

Select the action​

Which of the elements found the robot clicks:

  • First element found — clicks the first element with that text (default)
  • All elements found — clicks every element with that text, one after another
  • One item from a selection of multiple elements — clicks the element at the position given in Enter the index of the list

Returns​

This action has no returns.

Rules and conditions​

  • Browser or page ID and Text are both required.
  • The text search is not case-sensitive and also finds elements whose text contains the value.
  • The robot waits up to 30 seconds for an element with that text to show up on the page. If none is found in that time, the action ends in an error.