随笔分类 -  selenium

摘要:``` from selenium.webdriver.common.action_chains import ActionChains import time from selenium import webdriver driver = webdriver.Chrome() tip_id = 'Tip_12340128' tip_1 = driver.find_element_by_xp... 阅读全文
posted @ 2018-07-31 16:14 idlewith 阅读(318) 评论(0) 推荐(0)
摘要:``` drv.find_element_by_xpath('//*[@id="leftSiteMapTree"]/li[9]/ul[1]/li[1]/button').click() ``` 阅读全文
posted @ 2017-04-14 10:45 idlewith 阅读(152) 评论(0) 推荐(0)
摘要:``` is_disappeared = WebDriverWait(drv, 30, 1, ignored_exceptions=TimeoutException).\ until(lambda x: x.find_element_by_id("leftSiteMapTree_58_span").is_displayed()) ``... 阅读全文
posted @ 2017-04-14 09:58 idlewith 阅读(141) 评论(0) 推荐(0)