简体   繁体   中英

Selenium 3.7.1 (Java) and ChromeDriver 2.33.5

I'm having an issue with launching Google Chrome using Selenium's latest version as of today 3.7.1

It works fine if it's within the IDE, but when I export to jar file and try running it, nothing happens. It used to work on Selenium 3.4.0, after upgrading it no longer works.

I'm not sure if it's a bug in Selenium's version or what exactly, Is anyone experiencing the same issue?

Thanks in advance.

Edit

Long story short, does Selenium 3.7.1 work with ChromeDriver 2.33.5 when executing the jar file?

As per latest release of selenium 3.7 , you should use v2.33 of chrome driver as there is no other driver is released by chromium yet. And I guess it should work

I solved it by including all 3.7.1 libraries into the build path. 3.7.1 works different than 3.4.0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM