BROWSER Set element attribute function

The BROWSER Set element attribute function in RPA.

Help CentreBuilding Processes

This article describes the RPA Browser functionality to set element attribute.

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


Description

The BROWSER Set element attribute function allows you to set element attribute.


Setting it up

To use the BROWSER Set element attribute function, follow these instructions:

{{popups:rpas/add:action=browser-set-attr}}

Once on a process map:

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

Input parameters

ParameterRequiredTypeDefaultDescription
Element selectorYesTextSelector to identify the element.
Selector typeYesSelectXPathMethod to locate the element.
AttributeYesTextName of the attribute to set.
ValueYesTextThe value to assign to the attribute.
Scroll into viewNoBooleanOffScroll to the element first.
Visible onlyNoBooleanOffOnly consider visible elements.

Output variables

This action does not produce any output variables.


Errors

ErrorDescription
Element not foundThe element could not be found.

Tips

  • Use this to modify hidden fields or set custom attributes before submitting a form.

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.