Get Element Attribute

Reads the value of a single attribute of a browser element. The activity does not query the page again; the value is read from the information captured when the element was found.


⬅️INPUT

Parameter

Type

Required

Description

Element

NMElement

✅ Yes

The browser element whose attribute is read. Default: element, i.e. the element in the Get Element body. If empty, the activity throws an error.

AttributeName

String

✅ Yes

Name of the attribute to read. Besides the element's HTML attributes (e.g. href, id, class), information such as tagname, innertext, value, xpath, isvisible, disabled can also be read. Names are stored in lowercase, so they must be written in lowercase. If empty, the activity throws an error.


➡️OUTPUT

Parameter

Type

Description

Value

String

The attribute's value, as text. If the element has no attribute with this name, no value is assigned.