selenium3自动化测试使用总结【不同浏览器错误不一样,解决方法一致】

总结一句话:selenium3根据不同浏览器下载不同的driver驱动,并和浏览器一起设置path,然后重启即可

Firefox火狐浏览器:错误类型+总结参考:https://blog.csdn.net/u011563656/article/details/86506939

Firefox火狐浏览器:错误类型解决方案终结版参考:https://blog.csdn.net/qq471011042/article/details/79514908

其他浏览器:https://www.cnblogs.com/wenchaoz/p/7875365.html

谷歌错误:selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

猜你喜欢

转载自blog.csdn.net/weixin_43343144/article/details/89467520
今日推荐