1、python3+pycharm搭建教程
郭燕霞:mac系统搭建python3+pycharmzhuanlan.zhihu.com2、安装selenium
Pycharm 下打开终端 直接命令行安装
“sudo pip3 install selenium”
Successfully installed selenium则表示安装成功
可以import selenium试下会不会报错
3、安装google webdrever
根据已安装的google浏览器版本号,选择对应的安装
http://chromedriver.storage.googleapis.com/index.html
假如你在项目中使用 webdriver.Chrome(executable_path="chromedriver")来导入driver,但是有可能会提示'chromedriver'executable need