Get Electron Attribute

Get Electron Attribute

Building Block Header

The green input connector (top left) triggers this block to begin execution.

The green output connector (top right) is triggered when an Electron attribute successfully fetched.

You can always change the header text of a block by double-clicking on it and typing in a new title.

Source element

You can choose to either define the source or select the “Element” option. By doing the latter, the Electron element locator will be limited to only work inside the source element.

Attribute name

The name of the attribute to get from the source element. For instance, if the source element is a previously found <img> tag, the attribute name src would be relevant.

Attribute value

This property contains the value of the found attribute.

Exists

This property is true if the attribute exists.