一、下载对应版本的chromedriver
二、解压后放到目录:/usr/local/bin目录
三、解决Mac无法验证Chromedriver开发者身份问题
xattr -d com.apple.quarantine chromedriver
四、验证安装结果
#!/usr/bin/python3 from selenium.webdriver import Chrome webdriver = Chrome()
time.sleep(5)
标签:bin,chromedriver,MacOS,Python,ChromeDriver,Chrome,usr From: https://www.cnblogs.com/lanse1993/p/18358596