Help Centre › Building Processes
This article describes the RPA Browser functionality to test if an element is enabled.
For a full list of available functions, please read BROWSER functions.
Description
The BROWSER Test if an element is enabled function allows you to test if an element is enabled.
Setting it up
To use the BROWSER Test if an element is enabled function, follow these instructions:
{{popups:rpas/add:action=browser-is-enabled}}
Once on a process map:
- Navigate to the process where you would like to add the BROWSER Test if an element is enabled 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 an element is enabled option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Element selector | Yes | Text | - | XPath, CSS, ID, or Name selector |
| Variable | Yes | Text | - | Variable to store the result (true/false) |
| Visible only | No | Switch | Off | Only consider visible elements |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Boolean | True if the element is enabled |
Errors
| Error | Description |
|---|---|
| Browser not open | No browser session is active |
Tips
- A disabled element typically has the disabled attribute set