Start Web Browser
Click Web Element
Find Web Element
Type Web Text
Use Browser Window
Get Web Dropdown
Web File Upload
Clear Web Cookie
Get Web Cookie
Set Web Cookie
Click Web Position
Close Web Browser
Drag Web Element
Get Browser Details
Get Web Attribute
Log Web Screenshot
Get Web Number
Get Web Text
Handle Web Alert
Hover Web Element
Hover Web Position
Set Web Dropdown
A Get Web Attribute building block is used to get a named HTML attribute from a source element, typically found with a Find Web Element block. Please note that this block only works with browser windows that were previously opened using the Start Web Browser block or their “child” windows.
Fully expanded, the Get Web Attribute block shows the following properties:
The green input connector in the header is used to trigger the block to start executing.
The green output connector in the header triggers when the web attribute has been retrieved.
The title of the block (“Get Web Attribute”) can be changed by double-clicking on it and typing in a new title.
This property contains the source element from which the attribute will be retrieved. This is typically linked the the “found element” of a Find Web Element block.
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.
This property contains the value of the found attribute.
This property will return True if the attribute exists and False if not.
Note that some HTML attributes can exist without having a value. For instance, a checked checkbox will have HTML similar to the following, which includes the checked attribute with no value:
<input type=”checkbox” checked name=”vehicle” value=”Bike”>I have a bike<br>
By setting this property, the building block will use a specific browser window.
Updated March 24th 2017.