In especially Python, after finding web elements, I don't actually know which attributes it has. So I can't work efficiently.
An example:
element = driver.find_element_by_class_name("someclass")
print(element.get_attrubite("class"))
InnerHTML, outerHTML, class, value are some of the attributes I know. Is there a list of all attributes that we can get?
Aucun commentaire:
Enregistrer un commentaire