at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:110)
at org.openqa.selenium.chrome.ChromeDriverService.access$0(ChromeDriverService.java:1)
at org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:118)
at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:291)
at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:82)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:117)
at selenium_demo.chrome_test.main(chrome_test.java:11)
Thanks
Gaurav
--
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-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a5795f26-470f-47ba-a50d-fb86eb5224ed%40googlegroups.com.
We cant know if the string is case-sensitive.
So please dont use webDriver.chrome.driver but instead use webdriver.chrome.driver. Try this first before further evaluating the problem.
--
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-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/6a97eb47-3028-4786-b609-e32764512e75%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAODD6augQTO%3DRtrMvs1KMCPAYqF-6aSdrQW_GKMKUeafCqAi5g%40mail.gmail.com.
public void beforeClass() {Attaching file ...
final String CHROME_LOCATION = "/src/testcases/chromedriver";
System.out.println(System.getProperty("user.dir") + CHROME_LOCATION);
System.setProperty("webdriver.chrome.driver",
System.getProperty("user.dir") + CHROME_LOCATION);
driver = new ChromeDriver();
}
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAC4vvFq2AZumuBkp90E3NRMo5H%2B%3DqP2z8K9NwFYet%3D823pswNg%40mail.gmail.com.
--~ Anand Somani
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAODD6augQTO%3DRtrMvs1KMCPAYqF-6aSdrQW_GKMKUeafCqAi5g%40mail.gmail.com.
{"sessionId":"","status":0,"value":{"build":{"version":"alpha"},"os":{"arch":"x86_64","name":"Mac OS X","version":"10.10.3"}}}
--
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-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a7afcab3-6380-47d1-89fd-4319ea037311%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAC4vvFp1d%2BEqeHgedZp_aguzs739UNE5-Qi1gd9cgm5WsPAHMg%40mail.gmail.com.