发布时间:2017-03-09 14:24:06
# 根据iddef waitForById(driver, id, times=60): wait = WebDriverWait(driver, times, poll_frequency=0.5) element = wait.until(lambda x: x.find_element_by_id(id)) return element# 根据名字def waitForByName(driver, name, times=30): wait .........【阅读全文】