Mac下安装和配置selenium

https://blog.csdn.net/qq_36631580/article/details/106800317?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162728303016780357281368%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=162728303016780357281368&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allsobaiduend~default-1-106800317.first_rank_v2_pc_rank_v29&utm_term=mac%E5%AE%89%E8%A3%85selenium&spm=1018.2226.3001.4187

1.安装selenium
安装:pip3 install selenium
验证:命令行import selenium
2.配置webdriver
下载地址:http://chromedriver.storage.googleapis.com/index.html
下载完成后mv chromedriver /usr/local/bin
验证:命令行输入chromedriver

你可能感兴趣的:(Web自动化)