Daniel Davison
2013-12-18 18:11:38 UTC
I actually have just recently started getting this error.
I've been using Eclipse for as long as I can remember, and it works fine
there, but I just recently moved to Intellij IDEA and I can't seem to get
it working there.
webdriver.chrome.driver is set, and nothing has changed. in fact - i
actually checked out the same project that eclipse has where it is working,
but still no dice with running using IntelliJ.
Since a change in IDE should not have an effect on the project contents or
semantics.. i wonder if this issue is something deeper? Possibly between
the differences of jre7/ vs jdk1.7../ ?
I've tried switching my junit configuration to no end - e.g. changing my
working directory, changing the alternate JRE, but still no dice.. This is
a very interesting error!
I've been using Eclipse for as long as I can remember, and it works fine
there, but I just recently moved to Intellij IDEA and I can't seem to get
it working there.
webdriver.chrome.driver is set, and nothing has changed. in fact - i
actually checked out the same project that eclipse has where it is working,
but still no dice with running using IntelliJ.
Since a change in IDE should not have an effect on the project contents or
semantics.. i wonder if this issue is something deeper? Possibly between
the differences of jre7/ vs jdk1.7../ ?
I've tried switching my junit configuration to no end - e.g. changing my
working directory, changing the alternate JRE, but still no dice.. This is
a very interesting error!
Hi guys, I am new here, but any help would be appreciated.
I am trying to run a simple selenium test with Chrome. My chromedriver.exe
is in the PATH and the program starts chromedriver (I can see it starting
in the taskmanager in my windows 7).
WebDriver driver = new ChromeDriver();
driver.get("http://www.google.com");
But then instead of starting Chrome, it just sits there, until I get this
\Started ChromeDriver
port=47708
version=19.0.1068.0
log=C:\seltest\chromedriver.log
Exception in thread "main"
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a
new session. Possible causes are invalid address of the remote server or
browser start-up failure.
Build info: version: '2.20.0', revision: '16008', time: '2012-02-27
19:03:04'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1',
java.version: '1.7.0_03'
Driver info: driver.version: ChromeDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:435)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:139)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
at
org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:144)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:86)
at LoginTest_Chrome.main(LoginTest_Chrome.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: org.openqa.selenium.WebDriverException: Timed out waiting for
ChromeDriver server to start.
Build info: version: '2.20.0', revision: '16008', time: '2012-02-27
19:03:04'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1',
java.version: '1.7.0_03'
Driver info: driver.version: ChromeDriver
at
org.openqa.selenium.chrome.ChromeDriverService.start(ChromeDriverService.java:166)
at
org.openqa.selenium.chrome.ChromeCommandExecutor.execute(ChromeCommandExecutor.java:46)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:415)
... 10 more
Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out
waiting for [http://localhost:47708/status, http://localhost:47708/healthz]
to be available after 20002 ms
at
org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:86)
at
org.openqa.selenium.chrome.ChromeDriverService.start(ChromeDriverService.java:164)
... 12 more
java.util.concurrent.TimeoutException
at
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:143)
at
org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:61)
... 13 more
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258)
at java.util.concurrent.FutureTask.get(FutureTask.java:119)
at
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
... 14 more
I am trying to run a simple selenium test with Chrome. My chromedriver.exe
is in the PATH and the program starts chromedriver (I can see it starting
in the taskmanager in my windows 7).
WebDriver driver = new ChromeDriver();
driver.get("http://www.google.com");
But then instead of starting Chrome, it just sits there, until I get this
\Started ChromeDriver
port=47708
version=19.0.1068.0
log=C:\seltest\chromedriver.log
Exception in thread "main"
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a
new session. Possible causes are invalid address of the remote server or
browser start-up failure.
Build info: version: '2.20.0', revision: '16008', time: '2012-02-27
19:03:04'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1',
java.version: '1.7.0_03'
Driver info: driver.version: ChromeDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:435)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:139)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
at
org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:144)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:86)
at LoginTest_Chrome.main(LoginTest_Chrome.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: org.openqa.selenium.WebDriverException: Timed out waiting for
ChromeDriver server to start.
Build info: version: '2.20.0', revision: '16008', time: '2012-02-27
19:03:04'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1',
java.version: '1.7.0_03'
Driver info: driver.version: ChromeDriver
at
org.openqa.selenium.chrome.ChromeDriverService.start(ChromeDriverService.java:166)
at
org.openqa.selenium.chrome.ChromeCommandExecutor.execute(ChromeCommandExecutor.java:46)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:415)
... 10 more
Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out
waiting for [http://localhost:47708/status, http://localhost:47708/healthz]
to be available after 20002 ms
at
org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:86)
at
org.openqa.selenium.chrome.ChromeDriverService.start(ChromeDriverService.java:164)
... 12 more
java.util.concurrent.TimeoutException
at
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:143)
at
org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:61)
... 13 more
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258)
at java.util.concurrent.FutureTask.get(FutureTask.java:119)
at
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
... 14 more
--
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-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to selenium-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/0dcdda8d-0f85-4b3f-b53d-07478da6a7ce%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
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-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to selenium-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/0dcdda8d-0f85-4b3f-b53d-07478da6a7ce%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.