I am new to GEB, Seleniumand WebDriver so this might be an obvious error on
my part. I ran the following GEB script from IntelliJ using FireFox first
then I tried Chrome. Both failed. Any idea what I could be doing wrong? My
project only includes the test code, JDK 8, Groovy 2.0.6, GEB 1.1.1,
selenium-support:2.52.0, selenium-firefox-driver:2.52.0,
selenium-chrome-driver:2.52.0. MacOS Sierra v 10.12.6. The browser is
launched, and the script fails at: go "http://google.com".
import geb.Browser
Browser.drive {
go "http://google.com"
assert title == "Google"
}
Got the following error:
/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java
-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:59714,suspend=y,server=n
-Dgeb.driver=chrome "-Dwebdriver.chrome.driver=/Applications/Google
Chrome.app/Contents/MacOS/Google Chrome"
-javaagent:/Users/home/Library/Caches/IntelliJIdea2017.2/groovyHotSwap/gragent.jar
-Dfile.encoding=UTF-8 -classpath
"/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/lib/tools.jar:/Users/home/dev/Playground/TAVConnectGEBTesting/out/production/TAVConnectGEBTesting:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-servlet-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-sql-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-test-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-testng-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-jmx-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-json-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-jsr223-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-groovysh-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-console-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-docgenerator-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-swing-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-ant-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-bsf-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-groovydoc-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-templates-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-xml-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/groovy-2.0.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/gpars-1.0.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/testng-6.5.2.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/jsp-api-2.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/servlet-api-2.4.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/ant-junit-1.8.4.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/bsf-2.4.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/qdox-1.12.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/jsr166y-1.7.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/asm-4.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/asm-analysis-4.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/asm-commons-4.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/asm-tree-4.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/asm-util-4.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/jansi-1.6.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/xmlpull-1.1.3.1.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/jline-1.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/xstream-1.4.2.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/ant-antlr-1.8.4.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/ant-launcher-1.8.4.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/ant-1.8.4.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/jcommander-1.12.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/ivy-2.2.0.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/hamcrest-core-1.1.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/commons-logging-1.1.1.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/junit-4.10.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/antlr-2.7.7.jar:/Users/home/.sdkman/candidates/groovy/2.0.6/lib/commons-cli-1.2.jar:/Users/home/.m2/repository/org/gebish/geb-core/1.1.1/geb-core-1.1.1.jar:/Users/home/.m2/repository/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.jar:/Users/home/.m2/repository/org/gebish/geb-ast/1.1.1/geb-ast-1.1.1.jar:/Users/home/.m2/repository/org/gebish/geb-waiting/1.1.1/geb-waiting-1.1.1.jar:/Users/home/.m2/repository/org/gebish/geb-implicit-assertions/1.1.1/geb-implicit-assertions-1.1.1.jar:/Users/home/.m2/repository/org/gebish/geb-exceptions/1.1.1/geb-exceptions-1.1.1.jar:/Users/home/.m2/repository/org/jodd/jodd-lagarto/3.7.1/jodd-lagarto-3.7.1.jar:/Users/home/.m2/repository/org/jodd/jodd-core/3.7.1/jodd-core-3.7.1.jar:/Users/home/.m2/repository/org/jodd/jodd-log/3.7.1/jodd-log-3.7.1.jar:/Users/home/.m2/repository/org/seleniumhq/selenium/selenium-firefox-driver/2.52.0/selenium-firefox-driver-2.52.0.jar:/Users/home/.m2/repository/org/seleniumhq/selenium/selenium-remote-driver/2.52.0/selenium-remote-driver-2.52.0.jar:/Users/home/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar:/Users/home/.m2/repository/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar:/Users/home/.m2/repository/org/seleniumhq/selenium/selenium-api/2.52.0/selenium-api-2.52.0.jar:/Users/home/.m2/repository/org/apache/httpcomponents/httpclient/4.5.1/httpclient-4.5.1.jar:/Users/home/.m2/repository/org/apache/httpcomponents/httpcore/4.4.3/httpcore-4.4.3.jar:/Users/home/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/home/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/Users/home/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar:/Users/home/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar:/Users/home/.m2/repository/net/java/dev/jna/jna-platform/4.1.0/jna-platform-4.1.0.jar:/Users/home/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/home/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar:/Users/home/.m2/repository/org/seleniumhq/selenium/selenium-chrome-driver/2.52.0/selenium-chrome-driver-2.52.0.jar:/Users/home/.m2/repository/org/seleniumhq/selenium/selenium-support/2.52.0/selenium-support-2.52.0.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/idea_rt.jar" Main
objc[22710]: Class JavaLaunchHelper is implemented in both
/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java
(0x10c9414c0) and
/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/libinstrument.dylib
(0x10e1fb4e0). One of the two will be used. Which one is undefined.
Connected to the target VM, address: '127.0.0.1:59714', transport: 'socket'
2017-09-06 17:02:58.908 Google Chrome[22712:2175109] Errors logged by ksadmin:
KSKeyedPersistentStore store directory does not exist.
[com.google.UpdateEngine.CommonErrorDomain:501 -
'/Library/Google/GoogleSoftwareUpdate/TicketStore' -
'KSKeyedPersistentStore.m:372']
KSPersistentTicketStore failed to load tickets. (productID: com.google.Chrome)
[com.google.UpdateEngine.CoreErrorDomain:1051 -
'/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore']
(KSKeyedPersistentStore store directory does not exist. -
'/Library/Google/GoogleSoftwareUpdate/TicketStore'
[com.google.UpdateEngine.CommonErrorDomain:501])
ksadmin cannot access the ticket store:<KSUpdateError:0x100405460
domain="com.google.UpdateEngine.CoreErrorDomain"
code=1051
userInfo={
function = "-[KSProductKeyedStore(ProtectedMethods)
errorForStoreError:productID:message:timeoutMessage:]";
date = 2017-09-06 22:02:58 +0000;
productids = {(
"com.google.Chrome"
)};
filename = "KSProductKeyedStore.m";
line = 91;
NSFilePath =
"/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore";
NSUnderlyingError = <KSError:0x1004038d0
domain="com.google.UpdateEngine.CommonErrorDomain"
code=501
userInfo={
date = 2017-09-06 22:02:58 +0000;
line = 372;
filename = "KSKeyedPersistentStore.m";
function =
"-[KSKeyedPersistentStore(PrivateMethods) validateStorePath]";
NSFilePath =
"/Library/Google/GoogleSoftwareUpdate/TicketStore";
NSLocalizedDescription =
"KSKeyedPersistentStore store directory does not exist.";
}
>;
NSLocalizedDescription = "KSPersistentTicketStore failed to
load tickets.";
}
>
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.52.0', revision:
'4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43'
System info: host: 'My---MBP', ip: '127.0.0.1', os.name: 'Mac OS X', os.arch:
'x86_64', os.version: '10.12.6', java.version: '1.8.0_92'
Driver info: driver.version: ChromeDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:170)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:159)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:116)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at
org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at
org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1465)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1395)
at
org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:879)
at
org.codehaus.groovy.runtime.DefaultGroovyMethods.newInstance(DefaultGroovyMethods.java:11842)
at org.codehaus.groovy.runtime.dgm$368.invoke(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:148)
at
org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:88)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
at
geb.driver.NameBasedDriverFactory.getDriver(NameBasedDriverFactory.groovy:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at
groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3487)
at
org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:84)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at
geb.driver.CachingDriverFactory$_getDriver_closure3.doCall(CachingDriverFactory.groovy:85)
at
geb.driver.CachingDriverFactory$_getDriver_closure3.doCall(CachingDriverFactory.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)
at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
at
geb.driver.CachingDriverFactory$SimpleCache.get(CachingDriverFactory.groovy:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at
geb.driver.CachingDriverFactory.getDriver(CachingDriverFactory.groovy:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at
groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3487)
at
org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:84)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at geb.Configuration.createDriver(Configuration.groovy:382)
at geb.Configuration.getDriver(Configuration.groovy:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at
groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3487)
at
org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:84)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
at geb.Browser.getDriver(Browser.groovy:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at
groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3487)
at
org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:84)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
at geb.Browser.go(Browser.groovy:500)
at geb.Browser$go.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
at geb.Browser.go(Browser.groovy:476)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)
at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
at Main$_run_closure1.doCall(Main.groovy:5)
at Main$_run_closure1.doCall(Main.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)
at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
at geb.Browser.drive(Browser.groovy:1054)
at geb.Browser$drive$0.callStatic(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:53)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:157)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:169)
at geb.Browser.drive(Browser.groovy:1024)
at geb.Browser$drive.call(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at Main.run(Main.groovy:3)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1076)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)
at
org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:848)
at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:831)
at
org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:407)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown
Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at Main.main(Main.groovy)
Caused by: java.lang.IllegalStateException: The process has not exited yet
therefore no result is available ...
at
org.apache.commons.exec.DefaultExecuteResultHandler.getException(DefaultExecuteResultHandler.java:76)
at
org.openqa.selenium.os.UnixProcess.checkForError(UnixProcess.java:171)
at
org.openqa.selenium.os.CommandLine.checkForError(CommandLine.java:185)
at
org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:177)
at
org.openqa.selenium.remote.service.DriverService.start(DriverService.java:166)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:78)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
... 146 more
Disconnected from the target VM, address: '127.0.0.1:59714', transport: 'socket'
Process finished with exit code 1
Thanks in advance!
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/geb-user/12aedf59-8d39-4169-99fc-fa72bfc5fc15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.