Helo,
my xpath does validate in firePath but when I try to send _key I get an error.
userID = driver.find_elements_by_xpath(".//*[@id='UserName']")
userID.send_keys('username')
AttributeError: 'list' object has no attribute 'send_keys'
Can someone toss me a bone please?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…