selenium环境配置 mac
环境准备
1、chrome webdriver官网下载地址:
https://chromedriver.storage.googleapis.com/index.html?path=94.0.4606.61/
Mac版本的,在安装包下面是一个可执行文件;直接将其复制到/usr/local/bin/目录下;
这样就免得我再配置环境变量了。
2、pip3 install selenium
3、官网文档地址
https://chromedriver.chromium.org/getting-started
https://selenium-python.readthedocs.io/index.html
https://seleniumhq.github.io/selenium/docs/api/py/api.html

浙公网安备 33010602011771号