func_unit.attr(data, value, a) -> Object
{String}
The attribute to get, or wait for.
{optional:String|Function}
If provided uses this as a check before continuing to the next action.
{Function}
callback that will run after this action completes.
{Object}
if the attr parameter is not provided, returns the attribute.
Gets the value of an attribute from an element or waits until the attribute equals the attr param.