Thursday, 27 August 2015

Reading attributes of elements

a = driver.find_element_by_name("Password")
b=a.get_attribute('placeholder')

No comments:

Post a Comment