BROWSER Test if an element is enabled function

The BROWSER Test if an element is enabled function in RPA.

Help CentreBuilding 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:

  1. Navigate to the process where you would like to add the BROWSER Test if an element is enabled 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 Test if an element is enabled option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Element selectorYesText-XPath, CSS, ID, or Name selector
VariableYesText-Variable to store the result (true/false)
Visible onlyNoSwitchOffOnly consider visible elements

Output variables

VariableTypeDescription
VariableBooleanTrue if the element is enabled

Errors

ErrorDescription
Browser not openNo browser session is active

Tips

  • A disabled element typically has the disabled attribute set

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.