You can use the getAttribute()
method to get an attribute.
Java
element.getAttribute("attributeName")
Python
element.get_attribute("attributeName")
C#
element.GetAttribute("attributeName");
You can use the getAttribute()
method to get an attribute.
element.getAttribute("attributeName")
element.get_attribute("attributeName")
element.GetAttribute("attributeName");