Linux(Ubuntu)配置Chromedriver
一、webdriver下载地址
https://chromedriver.storage.googleapis.com/index.html
二、ubuntu中查看chrome版本
三、下载同chrome版本的webdriver
四、ubuntu中安装webdriver
1、将chromedriver移到/usr/local/bin下
使用mv webdriver /usr/local/bin命令将webdriver移动到 /usr/local/bin目录下就完成了第一步
使用mv webdriver /usr/local/bin命令可能失败。
排查中发现usr目录下是存在local ,但是执行跳转命令是会显示找不到local ,不知道什么原因,索性加权限sudo chmod + 777 local