Install Google Chrome driver on Mac

Download the corresponding version driver of Google Chrome,

1. Check your Google browser version

谷歌浏览器--->右上角三个点--->帮助--->关于Google Chrome

 

2. Download the Google browser driver

Go to the following URL

http://chromedriver.storage.googleapis.com/index.html

 Find the corresponding version number, if you can’t find the exact same version number, find the corresponding version number

 After downloading, unzip and move or copy to the following path

/usr/local/bin

# 或者你的环境安装的bin路径下

At this point, you can call Google Chrome through the code

Guess you like

Origin blog.csdn.net/weixin_42131208/article/details/127526785