Member predicate DOM::DOM::ElementDefinition::getAttributeByName

Gets an attribute of this DOM element with name name.

For example, the DOM element <a href="https://semmle.com">Semmle</a> has a single attribute href="https://semmle.com" with the name href.

AttributeDefinition getAttributeByName(string name)