12 2016 档案
摘要:本机环境:xamppv3.2.1+ecshop3.0 1.元素定位写对,却一直报错,发现是页面元素加载的太慢,所以加上延时from selenium import webdriverimport timedriver=webdriver.Chrome()driver.implicitly_wait(
阅读全文
摘要:下拉框1.先定位select 然后在定位option city = driver.find_element_by_id("selCities_0") city.find_element_by_xpath("//option[@value='50']").click() 或者 driver.find_
阅读全文

浙公网安备 33010602011771号