centos7 selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

  1、查看安装的chrome浏览器版本

    

  2、查看版本对应的驱动

    https://sites.google.com/a/chromium.org/chromedriver/downloads

    

    

    下载后拷贝到/usr/local/bin/目录下

    

猜你喜欢

转载自www.cnblogs.com/shaosks/p/9177596.html
今日推荐