python+selenium十二:一个输入框双层input标签 python+selenium十二:一个输入框双层input标签

python+selenium十二:一个输入框双层input标签

 

先点击第一个,再对第二个进行操作,否则操作失败

driver.find_element_by_css_selector(".pwd").click()
driver.find_element_by_css_selector(".password").send_keys("XXX")

先点击第一个,再对第二个进行操作,否则操作失败

driver.find_element_by_css_selector(".pwd").click()
driver.find_element_by_css_selector(".password").send_keys("XXX")

猜你喜欢

转载自www.cnblogs.com/dwdw/p/9998665.html
今日推荐