GEB go "http://google.com" fails on OS X FireFox and Chrome

305 views
Skip to first unread message

JR

unread,
Sep 6, 2017, 6:24:14 PM9/6/17
to Geb User Mailing List
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!

Marcin Erdmann

unread,
Sep 7, 2017, 2:16:12 PM9/7/17
to Geb User Mailing List
Looks like your Chrome is crashing for some reason when it is being started by WebDriver. Can you please confirm that you are able to run Chrome on your machine when starting it manually, that is not through WebDriver? A quick Google search seems to suggest people seeing similar issues when Google Drive is installed on their machines. Is that the case for you?

Marcin

--
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/12aedf59-8d39-4169-99fc-fa72bfc5fc15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

JR

unread,
Sep 7, 2017, 5:35:51 PM9/7/17
to Geb User Mailing List
Yes I have Chrome installed and it works fine. I don't have Google Drive running (only DropBox). I tried a simple test on my Mac with FireFox and groovy from the command line but still can't get beyond go "https...".

@Grapes([
    @Grab("org.gebish:geb-core:1.1.1"),
    @Grab("org.seleniumhq.selenium:selenium-firefox-driver:2.52.0"),
    @Grab("org.seleniumhq.selenium:selenium-support:2.52.0")
])
import geb.Browser

Browser.drive {

println("Before Go!")
println("After Go!")
$("#lst-ib").value("Hello Geb!")
}

groovy -v

Groovy Version: 2.4.7 JVM: 1.8.0_92 Vendor: Oracle Corporation OS: Mac OS X

groovy GEBTest.groovy 

Before Go!

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

3637290414043342171webdriver-profile/extensions/webdriver-staging

1504819257719 addons.xpi DEBUG Existing add-on fxdr...@googlecode.com in app-profile

1504819257720 addons.xpi INFO Mapping aush...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/aush...@mozilla.org.xpi

1504819257720 addons.xpi INFO Mapping clicktopl...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/clicktopl...@mozilla.org.xpi

1504819257720 addons.xpi INFO Mapping e10sr...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/e10sr...@mozilla.org.xpi

1504819257720 addons.xpi INFO Mapping fir...@getpocket.com to /Applications/Firefox.app/Contents/Resources/browser/features/fir...@getpocket.com.xpi

1504819257720 addons.xpi INFO Mapping followo...@mozilla.com to /Applications/Firefox.app/Contents/Resources/browser/features/followo...@mozilla.com.xpi

1504819257720 addons.xpi INFO Mapping scree...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/scree...@mozilla.org.xpi

1504819257720 addons.xpi INFO Mapping shield-rec...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/shield-rec...@mozilla.org.xpi

1504819257720 addons.xpi INFO Mapping webc...@mozilla.org to /Applications/Firefox.app/Contents/Resources/browser/features/webc...@mozilla.org.xpi

1504819257721 addons.xpi DEBUG Existing add-on aush...@mozilla.org in app-system-defaults

1504819257721 addons.xpi DEBUG Existing add-on clicktopl...@mozilla.org in app-system-defaults

1504819257722 addons.xpi DEBUG Existing add-on e10sr...@mozilla.org in app-system-defaults

1504819257723 addons.xpi DEBUG Existing add-on fir...@getpocket.com in app-system-defaults

1504819257725 addons.xpi DEBUG Existing add-on followo...@mozilla.com in app-system-defaults

1504819257725 addons.xpi DEBUG Existing add-on scree...@mozilla.org in app-system-defaults

1504819257725 addons.xpi DEBUG Existing add-on shield-rec...@mozilla.org in app-system-defaults

1504819257726 addons.xpi DEBUG Existing add-on webc...@mozilla.org in app-system-defaults

1504819257730 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi

1504819257733 addons.xpi DEBUG Existing add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global

1504819257734 addons.xpi DEBUG getInstallState changed: false, state: {}

2017-09-07 16:20:58.055 plugin-container[35272:3706244] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x903f, name = 'com.apple.tsm.portname'

See /usr/include/servers/bootstrap_defs.h for the error codes.

2017-09-07 16:20:58.061 plugin-container[35272:3706244] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9403, name = 'com.apple.CFPasteboardClient'

See /usr/include/servers/bootstrap_defs.h for the error codes.

1504819258086 addons.productaddons INFO sending request to: https://aus5.mozilla.org/update/3/GMP/55.0.3/20170824053838/Darwin_x86_64-gcc3/en-US/release/Darwin%2016.7.0/default/default/update.xml

JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
...

1504819257733 addons.xpi DEBUG Existing add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global

1504819257734 addons.xpi DEBUG getInstallState changed: false, state: {}

2017-09-07 16:20:58.055 plugin-container[35272:3706244] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x903f, name = 'com.apple.tsm.portname'

See /usr/include/servers/bootstrap_defs.h for the error codes.

2017-09-07 16:20:58.061 plugin-container[35272:3706244] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9403, name = 'com.apple.CFPasteboardClient'

See /usr/include/servers/bootstrap_defs.h for the error codes.

1504819258086 addons.productaddons INFO sending request to: https://aus5.mozilla.org/update/3/GMP/55.0.3/20170824053838/Darwin_x86_64-gcc3/en-US/release/Darwin%2016.7.0/default/default/update.xml

JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.

1504819258544 addons.productaddons WARN Failed downloading XML, status: 0, reason: error

1504819258546 addons.productaddons INFO fetching config from: chrome://global/content/gmp-sources/openh264.json

1504819258547 addons.productaddons INFO fetching config from: chrome://global/content/gmp-sources/widevinecdm.json

1504819258549 addons.productaddons INFO found plugin: gmp-gmpopenh264

1504819258549 addons.productaddons INFO found plugin: gmp-widevinecdm

1504819259132 addons.productaddons INFO downloadXHR File download. status=200

1504819259137 addons.productaddons INFO Downloaded file will be saved to /var/folders/gv/_cx4q31913lf1d2n41zfycrr0000gp/T/tmpaddon-5dcf6f

1504819259637 addons.productaddons WARN Failed downloading via XHR, status: 0, reason: error





J. David Beutel

unread,
Sep 7, 2017, 6:00:11 PM9/7/17
to geb-...@googlegroups.com
I've seen this problem on newer versions of Firefox, which I think may require a helper binary, which I haven't tried to install yet.  I just use an older version, currently Firefox-38.5.2.esr, with Selenium 2.53.1, on MacOS 10.12.6.  I haven't tried Chrome yet.

Cheers,
11011011
--
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.

To post to this group, send email to geb-...@googlegroups.com.

JR

unread,
Sep 7, 2017, 6:25:35 PM9/7/17
to Geb User Mailing List
I have FireFox version 55.0.3  and Chrome Version 61.0.3163.79 (Official Build) (64-bit) running on my system. Can't get either browser to work. I will try Safari Version 10.1.2 (12603.3.8) next.

Marcin Erdmann

unread,
Sep 8, 2017, 2:47:48 AM9/8/17
to geb-...@googlegroups.com
You are using relatively new versions of browsers and both of them now need special additional executable (chromedriver and geckodriver respectively) and a bit of configuration to be able to be used with WebDriver. If you just want to get started then I'd suggest downgrading FF below version 47 and it will run without having to install geckodriver. It's probably worth keeping in mind that you will have to learn how to work with these binaries eventually anyway.

On Thu, 7 Sep 2017 at 23:25, JR <john.rug...@gmail.com> wrote:
I have FireFox version 55.0.3  and Chrome Version 61.0.3163.79 (Official Build) (64-bit) running on my system. Can't get either browser to work. I will try Safari Version 10.1.2 (12603.3.8) next.

--
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.
To post to this group, send email to geb-...@googlegroups.com.

JR

unread,
Sep 12, 2017, 1:30:26 PM9/12/17
to Geb User Mailing List
I downloaded the Gecko driver and configured it. I am now getting the exception shown below. Still not getting past go. I can't down grade my browser for security and policy reasons. I really would like to get this working so if anyone has a current setup that works on OS X any info would be appreciated.

Connected to the target VM, address: '127.0.0.1:50663', transport: 'socket'
1505236516031 geckodriver INFO geckodriver 0.18.0
1505236516039 geckodriver INFO Listening on 127.0.0.1:40037
1505236517682 geckodriver::marionette INFO Starting browser /Applications/Firefox.app/Contents/MacOS/firefox-bin with args ["-marionette"]
1505236518179 addons.xpi WARN Error parsing extensions state: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [amIAddonManagerStartup.readStartupData]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: loadExtensionState :: line 1596"  data: no] Stack trace: loadExtensionState()@resource://gre/modules/addons/XPIProvider.jsm:1596 < getInstallState()@resource://gre/modules/addons/XPIProvider.jsm:1631 < checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:3152 < startup()@resource://gre/modules/addons/XPIProvider.jsm:2246 < callProvider()@resource://gre/modules/AddonManager.jsm:271 < _startProvider()@resource://gre/modules/AddonManager.jsm:741 < startup()@resource://gre/modules/AddonManager.jsm:908 < startup()@resource://gre/modules/AddonManager.jsm:3122 < observe()@jar:file:///Applications/Firefox.app/Contents/Resources/omni.ja!/components/addonManager.js:65
1505236518551 Marionette INFO Enabled via --marionette
1505236520157 Marionette INFO Listening on port 50697
JavaScript error: chrome://marionette/content/server.js, line 337: NS_ERROR_SOCKET_ADDRESS_IN_USE: Component returned failure code: 0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE) [nsIServerSocket.initSpecialConnection]
2017-09-12 12:15:20.224 plugin-container[19994:2679852] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xa33b, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2017-09-12 12:15:20.227 plugin-container[19994:2679852] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xa603, name = 'com.apple.CFPasteboardClient'
See /usr/include/servers/bootstrap_defs.h for the error codes.
1505236520262 Marionette DEBUG loaded listener.js
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
1505236520380 addons.productaddons WARN Failed downloading XML, status: 0, reason: error
Sep 12, 2017 12:15:20 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
1505236520805 Marionette DEBUG Received DOM event "beforeunload" for "about:blank"
1505236521048 Marionette DEBUG Received DOM event "beforeunload" for "about:blank"
1505236521050 Marionette DEBUG Received DOM event "pagehide" for "about:blank"
1505236521050 Marionette DEBUG Received DOM event "unload" for "about:blank"
Exception in thread "main" org.openqa.selenium.WebDriverException: 
Build info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:42:44.417Z'
System info: host: 'My---MBP', ip: '192.168.0.5', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_92'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{moz:profile=/var/folders/gv/_cx4q31913lf1d2n41zfycrr0000gp/T/rust_mozprofile.0Q2I2NWRBYbX, rotatable=false, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, platform=MAC, specificationLevel=0, moz:accessibilityChecks=false, acceptInsecureCerts=false, browserVersion=55.0.3, platformVersion=16.7.0, moz:processID=19993, browserName=firefox, javascriptEnabled=true, platformName=MAC}]
Session ID: 522d1c71-7b88-b44a-9d41-9360b20821f0
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.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:646)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:370)
at org.openqa.selenium.WebDriver$get.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 geb.Browser.go(Browser.groovy:511)
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:10)
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:8)
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)
1505236521254 addons.productaddons WARN Failed downloading via XHR, status: 0, reason: error
1505236521302 Marionette INFO New connections will no longer be accepted
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
[Child 19994] WARNING: pipe error: Broken pipe: file /builds/slave/m-rel-m64-00000000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 709
Disconnected from the target VM, address: '127.0.0.1:50663', transport: 'socket'



Marcin Erdmann

unread,
Sep 12, 2017, 2:19:49 PM9/12/17
to geb-...@googlegroups.com
As far as I can tell you are getting an SSL certificate error. This will be something specific  to your environment, not related to Geb, possobly related to WebDriver. The only reason I can think of for you gettig this error is that your FF instalation is custom or the set of standard certificates has been tinkered with on your machine.

With regards to an example project, you can check out github.com/geb/geb-example-gradle. It is very simple, configures gecko and chrome driver executables, uses very recent versions of them and runs on my MacBook out of the box.



--
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.
To post to this group, send email to geb-...@googlegroups.com.

Brian Kotek

unread,
Sep 12, 2017, 2:38:30 PM9/12/17
to Geb User Mailing List
One other possibility: I'm not a network guy, but I believe that many corporate proxies will also proxy or otherwise manipulate/replace external SSL certs. If the external cert gets "replaced" with some internal corporate cert, it would probably fail to be verified. I think there was a Java command line arg that disabled cert verification, but it may have been removed in Java 8.

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/26e72d4d-3da8-46a7-b6d8-eca469e45d78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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.

JR

unread,
Sep 12, 2017, 3:49:12 PM9/12/17
to Geb User Mailing List
Solved, thanks for all the help!!! After installing the correct WebDriver version my virus detection software "Avast" was preventing access.
Reply all
Reply to author
Forward
0 new messages