Get Element Attributes

Returns all attributes of a browser element as name and value pairs. The activity does not query the page again; the values are read from the information captured when the element was found.


⬅️INPUT

Parameter

Type

Required

Description

Element

NMElement

✅ Yes

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


➡️OUTPUT

Parameter

Type

Description

Result

Dictionary<String, String>

The element's attributes. The key is the attribute's lowercase name and the value is its text form; empty values become empty text. Besides the element's HTML attributes (e.g. href, id, class), it also contains information such as tagname, innertext, value, xpath, isvisible, disabled.