Help Centre › Building Processes
This article describes the RPA Browser functionality to test if text exists on the page.
For a full list of available functions, please read BROWSER functions.
Description
The BROWSER Test if text exists on the page function allows you to test if text exists on the page.
Setting it up
To use the BROWSER Test if text exists on the page function, follow these instructions:
{{popups:rpas/add:action=browser-text-exist}}
Once on a process map:
- Navigate to the process where you would like to add the BROWSER Test if text exists on the page function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the BROWSER Test if text exists on the page option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Text to be found | Yes | Textarea | - | The text to search for on the page |
| Variable | Yes | Text | - | Variable to store the result (true/false) |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Boolean | True if the text is found on the page |
Errors
| Error | Description |
|---|---|
| Browser not open | No browser session is active |
Tips
- Searches the entire visible page content for the specified text