Python+selenium用法 上

下载chromdriver到:
python目录下
chrom目录下
添加chrom路径到path

Python selenium 三种等待方式详解
1. 强制等待
time.sleep(10)
2. 隐性等待
driver.implicitly_wait(30)
3. 显性等待
WebDriverWait,配合该类的until()和until_not()方法

posted on 2019-06-11 22:22  看你妹儿  阅读(154)  评论(0编辑  收藏  举报

导航