Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
523 views
in Technique[技术] by (71.8m points)

javascript - 当我进行正确的设置时会显示错误。 “ SessionNotCreatedError:未创建会话:Chrome版本必须介于70到73之间”(Error shows when I have the correct set up. “SessionNotCreatedError: session not created: Chrome version must be between 70 and 73”)

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to reply this article.

OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...