# Get Element Attribute

Gets the attribute of the specified element

#### Selector

* [Selector](https://docs.browserflow.app/guides/selectors) for the element with text

#### Attribute

* [Attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes) of the element

#### Variable to assign element attribute

* Name of the variable to store the attribute
  * If the attribute does not exist on the element, an empty string will be stored

#### Use blank text if element is missing

* If selected, Browserflow will use an empty string as the attribute if the element does not exist
  * By default, Browserflow will wait for the element to appear and exit with an error if the element cannot be found
* This is useful when an element appears inconsistently (e.g. when looping through a list of elements where some elements contain a particular piece of data but others don't)
