随笔分类 - 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...
        阅读全文
                
摘要:```
drv.find_element_by_xpath('//*[@id="leftSiteMapTree"]/li[9]/ul[1]/li[1]/button').click()
```
        阅读全文
                
摘要:```
is_disappeared = WebDriverWait(drv, 30, 1, ignored_exceptions=TimeoutException).\ until(lambda x: x.find_element_by_id("leftSiteMapTree_58_span").is_displayed())
``...
        阅读全文
                
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号