In Selenium for Python, how can I get an element's attribute rather than its property? In Selenium for Python, how can I get an element's attribute rather than its property? selenium selenium