Python+selenium用法 上

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

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

原文地址:https://www.cnblogs.com/tutuwowo/p/11006506.html