79689034

Date: 2025-07-03 14:45:56
Score: 1
Natty:
Report link

First get element using find_element function.

Then get DOM attributes using get_dom_attribute function

element = driver.find_element(...)
classes = element.get_dom_attribute("class")
print(classes)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Heindrick Dumdum