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

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

 

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

driver.find_element_by_css_selector(".pwd").click()
driver.find_element_by_css_selector(".password").send_keys("XXX")
posted @ 2018-11-21 23:38  怪圣卡杰  阅读(339)  评论(0编辑  收藏  举报