UI自动化执行时报Parent suite setup failed: SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81报错的问题解决

  持续集成在执行UI时报错:Parent suite setup failed: SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81。查看了下谷歌的版本号,应该给自动升级到了版本83

 在网上找了几篇博文进行谷歌版本的降级没有成功,然后在网上找到chromedriver驱动下载的地址:http://npm.taobao.org/mirrors/chromedriver/,找到最新的驱动版本下载后,把原来的chromedriver.exe先放到其他文件夹,把下载的最新版本chromedriver.exe放到python目录文件夹下,执行UI自动化成功!

猜你喜欢

转载自www.cnblogs.com/yinze/p/12929305.html
今日推荐