Selenium driver issue

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Selenium driver issue

Romita Thakur
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a7f1316d-ad3c-48de-982d-8115a31bd53c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Selenium driver issue

Shiva Prasad Adirala
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 [hidden email].
To post to this group, send email to [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium driver issue

Romita Thakur
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 <[hidden email]> 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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAAU7DNJhqwuWY%3Dzw-7-7-o4B2TNe90m%2Bg-ZzGS_%2BB-b2%2BZWucw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium driver issue

Joe Ward
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 <[hidden email]> 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 <[hidden email]> 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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAAU7DNJhqwuWY%3Dzw-7-7-o4B2TNe90m%2Bg-ZzGS_%2BB-b2%2BZWucw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJPyTs07%2B1iBbkozdOytPQbFX56WO6t2E3PXuhQkya_gH0%2BRow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium driver issue

Joe Ward
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?

On 30 May 2018 at 09:24, Joe Ward <[hidden email]> wrote:
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 <[hidden email]> 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 <[hidden email]> 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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAAU7DNJhqwuWY%3Dzw-7-7-o4B2TNe90m%2Bg-ZzGS_%2BB-b2%2BZWucw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJPyTs1K0nh18NXonPGfoXcR3btKpi9RDUzWTrtGYi0%3D0_5myw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.