I was doing an automate testing with selenium-webdriver.
(我正在使用selenium-webdriver进行自动化测试。)
I am building a driver using chromedriver.(我正在使用chromedriver构建驱动程序。)
It was working good but one day I run a test and this following error message shows up(它运行良好,但是有一天我进行了测试,并且出现以下错误消息)
SessionNotCreatedError: session not created: Chrome version must be between 70 and 73
(SessionNotCreatedError:未创建会话:Chrome版本必须在70到73之间)
(Driver info: chromedriver=73.0.3683.20 (8e2b610813e167eee3619ac4ce6e42e3ec622017),platform=Mac OS X 10.14.3 x86_64)((驱动程序信息:chromedriver = 73.0.3683.20(8e2b610813e167eee3619ac4ce6e42e3ec622017),平台= Mac OS X 10.14.3 x86_64))
but I have no idea what is going on that my package.json shows me it is chromedriver^73.0.0.0.
(但我不知道我的package.json发生了什么,告诉我它是chromedriver ^ 73.0.0.0。)
An I have try to uninstall the previous version v2.45, and this similar message shows up.(我尝试卸载以前的版本v2.45,并且显示类似消息。)
I have tried so many times for doing npm uninstall and install, also try to install locally but does not help.
(我已经尝试过多次进行npm卸载和安装,也尝试在本地安装,但无济于事。)
I know update to v74 works, but some for some reason, i need to stay with the version v73.(我知道对v74的更新有效,但是出于某些原因,我需要保留v73版本。)
Does anyone how to solve this?
(有人解决这个问题吗?)
ask by johnson ye translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…