geb-example-gradle driver cannot be created for chromeTest and firefoxTest

225 views
Skip to first unread message

EclipseTalk

unread,
Jan 31, 2017, 5:29:52 PM1/31/17
to Geb User Mailing List
Hello,
I installed https://github.com/geb/geb-example-gradle. It compiles fine but I cannot run the chrome and firefox tests (the phantomJsTest works fine).
Below is the error I get, the driver cannot be created. Does anyone know what's happening?

:chromeTest

GebishOrgSpec > can get to the current Book of Geb FAILED
    geb.driver.DriverCreationException at GebishOrgSpec.groovy:7
        Caused by: org.openqa.selenium.remote.UnreachableBrowserException at GebishOrgSpec.groovy:7
            Caused by: org.openqa.selenium.WebDriverException at GebishOrgSpec.groovy:7
                Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException at GebishOrgSpec.groovy:7
                    Caused by: com.google.common.util.concurrent.UncheckedTimeoutException at GebishOrgSpec.groovy:7
                        Caused by: java.util.concurrent.TimeoutException at GebishOrgSpec.groovy:7

Thank you in advance for your help

Marcin Erdmann

unread,
Feb 1, 2017, 4:27:35 AM2/1/17
to Geb User Mailing List
What browser versions do you have installed? You have to install FF <= 47.0.2 and Chrome (latest version should do). 

Can you also please share a full stacktrace as included in test reports generated by Gradle (html reports are included in subdirectories of build/reports directory)?

--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+unsubscribe@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/92660d7d-4820-45c6-82ef-70631a4d113f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

EclipseTalk

unread,
Feb 1, 2017, 7:54:14 AM2/1/17
to Geb User Mailing List
Thanks for replying.
This is what I use:
  •   groovyVersion = '2.4.8'
  •   gebVersion = '1.1.1'
  •   seleniumVersion = '2.53.0'
  •   chromeDriverVersion = '2.24'
  •   phantomJsVersion = '2.1.1'
Please see attached the full stacktrace for GebishOrgSpec and GebishOrgTest. 

Any help is welcome. Thanks in advance!


On Wednesday, February 1, 2017 at 4:27:35 AM UTC-5, Marcin Erdmann wrote:
What browser versions do you have installed? You have to install FF <= 47.0.2 and Chrome (latest version should do). 

Can you also please share a full stacktrace as included in test reports generated by Gradle (html reports are included in subdirectories of build/reports directory)?
On Tue, Jan 31, 2017 at 10:29 PM, EclipseTalk <er...@clm-consulting.com> wrote:
Hello,
I installed https://github.com/geb/geb-example-gradle. It compiles fine but I cannot run the chrome and firefox tests (the phantomJsTest works fine).
Below is the error I get, the driver cannot be created. Does anyone know what's happening?

:chromeTest

GebishOrgSpec > can get to the current Book of Geb FAILED
    geb.driver.DriverCreationException at GebishOrgSpec.groovy:7
        Caused by: org.openqa.selenium.remote.UnreachableBrowserException at GebishOrgSpec.groovy:7
            Caused by: org.openqa.selenium.WebDriverException at GebishOrgSpec.groovy:7
                Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException at GebishOrgSpec.groovy:7
                    Caused by: com.google.common.util.concurrent.UncheckedTimeoutException at GebishOrgSpec.groovy:7
                        Caused by: java.util.concurrent.TimeoutException at GebishOrgSpec.groovy:7

Thank you in advance for your help

--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
GebishOrgTest.html
GebishOrgSpec.html

EclipseTalk

unread,
Feb 1, 2017, 1:25:45 PM2/1/17
to Geb User Mailing List
I've made some progress now. However I'm still getting this error:

[Starting ChromeDriver 2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3) on port 20215
$Only local connections are allowed.
ZStarting ChromeDriver 2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3) on port 7807
$Only local connections are allowed

Does anyone know what's happening?

Thanks!

Raja Rajan

unread,
Apr 25, 2017, 10:45:25 AM4/25/17
to Geb User Mailing List
Actually , in my project i usually get this error while chrome driver is missing in the path mentioned and if i wrongly configured name in Gebconfig as"chromeDriver" instead of "Chrome Driver.exe"..Please check the driver availability and path given .It might help

Thanks,
Rajarajan C 
Reply all
Reply to author
Forward
0 new messages