Selenium driver issue

65 views
Skip to first unread message

Romita Thakur

unread,
May 29, 2018, 11:35:28 AM5/29/18
to Selenium Users
Facing issue while launching the driver.


Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:124)
at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:32)
at org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:137)
at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:339)
at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:88)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:123)
at isftest.Login.main(Login.java:21)



Can somebody tell what i am missing here .

Using selenium-java-2.53.0.

Shiva Prasad Adirala

unread,
May 29, 2018, 11:40:47 AM5/29/18
to Selenium Users
Can you cross check the driver version you are using.

Checklist:
Chrome browser version
Chrome driver version

Example: If you are you chrome 66v then u should use cheomedriver 26v

Go through below link: http://chromedriver.chromium.org/downloads

Note: cross check environment variable if applicable

Hope it resolves issue

Romita Thakur

unread,
May 30, 2018, 3:49:08 AM5/30/18
to seleniu...@googlegroups.com
Hi 

I am using chrome version 66 and chrome exe version 2.38, still stuck with same issue.


Regards:
Romita Thakur


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/6f1859c0-39e6-478b-ac78-662cd5a075a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joe Ward

unread,
May 30, 2018, 4:25:38 AM5/30/18
to seleniu...@googlegroups.com
Would need to know more about the code you're actually trying to execute but to me, it looks like it can't find the executable.

On 30 May 2018 at 08:47, Romita Thakur <romitat...@gmail.com> wrote:
Hi 

I am using chrome version 66 and chrome exe version 2.38, still stuck with same issue.


Regards:
Romita Thakur
On Tue, May 29, 2018 at 9:10 PM, Shiva Prasad Adirala <adiral...@gmail.com> wrote:
Can you cross check the driver version you are using.

Checklist:
Chrome browser version
Chrome driver version

Example: If you are you chrome 66v then u should use cheomedriver 26v

Go through below link: http://chromedriver.chromium.org/downloads

Note: cross check environment variable if applicable

Hope it resolves issue

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.

Joe Ward

unread,
May 30, 2018, 4:27:18 AM5/30/18
to seleniu...@googlegroups.com
What issue are you actually trying to solve by doing this? Selenium doesn't really have a programmatic way to do what you're asking. Fiddler and BrowserMob are probably OK for exploratory testing but a bit outside what this group is "for". If you explained your reasons for wanting to do this then maybe we can suggest alternatives?

Reply all
Reply to author
Forward
0 new messages