Issue 7094 in selenium: Chrome Browser Blocked with Selenium

2 views
Skip to first unread message

sele...@googlecode.com

unread,
Mar 13, 2014, 6:15:09 PM3/13/14
to selenium-develope...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 7094 by nza...@gmail.com: Chrome Browser Blocked with Selenium
http://code.google.com/p/selenium/issues/detail?id=7094

Help, Chrome doesn't want to open when prompted by Selenium. I thought it
was a permissions issue but everyone else is able to open it; the file is
not the issue. Is it where my Chrome is located?

1. Run java -jar selenium-server-standalone-2.40.0.jar
-Dwebdriver.chrome.driver="chromedriver"
2. Run bin/behat


It should go through the scripts and open up Chrome but instead I get this
issue:

Starting ChromeDriver (v2.9.248307) on port 31724
18:00:08.304 WARN - Exception thrown
java.util.concurrent.ExecutionException:
org.openqa.selenium.WebDriverException:
java.lang.reflect.InvocationTargetException
Build info: version: '2.40.0', revision: 'fbe29a9', time: '2014-02-19
20:54:28'
System info: host: 'Ninas-MacBook-Pro.local', ip: '10.253.149.73',
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9',
java.version: '1.6.0_65'
Driver info: driver.version: unknown
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at
org.openqa.selenium.remote.server.DefaultSession.execute(DefaultSession.java:177)
at
org.openqa.selenium.remote.server.DefaultSession.<init>(DefaultSession.java:113)
at
org.openqa.selenium.remote.server.DefaultSession.createSession(DefaultSession.java:90)
at
org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(DefaultDriverSessions.java:96)
at
org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:63)
at
org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:202)
at
org.openqa.selenium.remote.server.JsonHttpRemoteConfig.handleRequest(JsonHttpRemoteConfig.java:192)
at
org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:174)
at
org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:140)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:112)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.openqa.jetty.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.openqa.jetty.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:680)
at
org.openqa.jetty.jetty.servlet.ServletHandler.handle(ServletHandler.java:571)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)
at org.openqa.jetty.http.HttpServer.service(HttpServer.java:920)
at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
at org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)
at
org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)
at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:358)
at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:537)
Caused by: org.openqa.selenium.WebDriverException:
java.lang.reflect.InvocationTargetException
Build info: version: '2.40.0', revision: 'fbe29a9', time: '2014-02-19
20:54:28'
System info: host: 'Ninas-MacBook-Pro.local', ip: '10.253.149.73',
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9',
java.version: '1.6.0_65'
Driver info: driver.version: unknown
at
org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:72)
at
org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:56)
at
org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:216)
at
org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:170)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:62)
... 9 more
Caused by: 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.40.0', revision: 'fbe29a9', time: '2014-02-19
20:54:28'
System info: host: 'Ninas-MacBook-Pro.local', ip: '10.253.149.73',
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9',
java.version: '1.6.0_65'
Driver info: driver.version: ChromeDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:567)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:218)
at
org.openqa.selenium.chrome.ChromeDriver.startSession(ChromeDriver.java:181)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:113)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:117)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:160)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:128)
... 14 more
Caused by: org.openqa.selenium.WebDriverException: Timed out waiting for
driver server to start.
Build info: version: '2.40.0', revision: 'fbe29a9', time: '2014-02-19
20:54:28'
System info: host: 'Ninas-MacBook-Pro.local', ip: '10.253.149.73',
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9',
java.version: '1.6.0_65'
Driver info: driver.version: ChromeDriver
at
org.openqa.selenium.remote.service.DriverService.start(DriverService.java:165)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:62)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:546)
... 20 more
Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out
waiting for [http://localhost:31724/status] to be available after 20001 ms
at
org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:104)
at
org.openqa.selenium.remote.service.DriverService.start(DriverService.java:163)
... 22 more
Caused by: com.google.common.util.concurrent.UncheckedTimeoutException:
java.util.concurrent.TimeoutException
at
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:143)
at
org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:79)
... 23 more
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
at java.util.concurrent.FutureTask.get(FutureTask.java:91)
at
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
... 24 more
18:00:08.308 WARN - Exception: null

On a Mac
Selenium version: 2.4
Browser: Chrome

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

sele...@googlecode.com

unread,
Mar 14, 2014, 8:11:39 AM3/14/14
to selenium-develope...@googlegroups.com
Updates:
Status: Moved

Comment #1 on issue 7094 by barancev: Chrome Browser Blocked with Selenium
http://code.google.com/p/selenium/issues/detail?id=7094

Moved to: Issue chromedriver:736
Reply all
Reply to author
Forward
0 new messages