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
On 2017-09-07 11:35 , JR wrote:
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!")
go "https://www.google.com"
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
1504819257719addons.xpiDEBUGExisting add-on [email protected] in
app-profile
1504819257720addons.xpiINFOMapping [email protected] to
/Applications/Firefox.app/Contents/Resources/browser/features/[email protected]
1504819257720addons.xpiINFOMapping [email protected] to
/Applications/Firefox.app/Contents/Resources/browser/features/[email protected]
1504819257720addons.xpiINFOMapping [email protected] to
/Applications/Firefox.app/Contents/Resources/browser/features/[email protected]
1504819257720addons.xpiINFOMapping [email protected] to
/Applications/Firefox.app/Contents/Resources/browser/features/[email protected]
1504819257720addons.xpiINFOMapping [email protected] to
/Applications/Firefox.app/Contents/Resources/browser/features/[email protected]
1504819257720addons.xpiINFOMapping [email protected] to
/Applications/Firefox.app/Contents/Resources/browser/features/[email protected]
1504819257720addons.xpiINFOMapping [email protected] to
/Applications/Firefox.app/Contents/Resources/browser/features/[email protected]
1504819257720addons.xpiINFOMapping [email protected] to
/Applications/Firefox.app/Contents/Resources/browser/features/[email protected]
1504819257721addons.xpiDEBUGExisting add-on [email protected] in
app-system-defaults
1504819257721addons.xpiDEBUGExisting add-on
[email protected] in app-system-defaults
1504819257722addons.xpiDEBUGExisting add-on [email protected] in
app-system-defaults
1504819257723addons.xpiDEBUGExisting add-on [email protected] in
app-system-defaults
1504819257725addons.xpiDEBUGExisting add-on [email protected]
in app-system-defaults
1504819257725addons.xpiDEBUGExisting add-on [email protected] in
app-system-defaults
1504819257725addons.xpiDEBUGExisting add-on
[email protected] in app-system-defaults
1504819257726addons.xpiDEBUGExisting add-on [email protected] in
app-system-defaults
1504819257730addons.xpiINFOMapping
{972ce4c6-7e08-4474-a285-3208198ce6fd} to
/Applications/Firefox.app/Contents/Resources/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
1504819257733addons.xpiDEBUGExisting add-on
{972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global
1504819257734addons.xpiDEBUGgetInstallState 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.
1504819258086addons.productaddonsINFOsending 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.
...
1504819257733addons.xpiDEBUGExisting add-on
{972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global
1504819257734addons.xpiDEBUGgetInstallState 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.
1504819258086addons.productaddonsINFOsending 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.
1504819258544addons.productaddonsWARNFailed downloading XML, status:
0, reason: error
1504819258546addons.productaddonsINFOfetching config from:
chrome://global/content/gmp-sources/openh264.json
1504819258547addons.productaddonsINFOfetching config from:
chrome://global/content/gmp-sources/widevinecdm.json
1504819258549addons.productaddonsINFOfound plugin: gmp-gmpopenh264
1504819258549addons.productaddonsINFOfound plugin: gmp-widevinecdm
1504819259132addons.productaddonsINFOdownloadXHR File download. status=200
1504819259137addons.productaddonsINFODownloaded file will be saved to
/var/folders/gv/_cx4q31913lf1d2n41zfycrr0000gp/T/tmpaddon-5dcf6f
1504819259637addons.productaddonsWARNFailed downloading via XHR,
status: 0, reason: error
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/geb-user/f61e3a4a-3e2a-4505-954c-744245ae3996%40googlegroups.com
<https://groups.google.com/d/msgid/geb-user/f61e3a4a-3e2a-4505-954c-744245ae3996%40googlegroups.com?utm_medium=email&utm_source=footer>.
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 [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/91d806b8-f4ce-562d-2b0b-bc5210b2eb6c%40getsu.com.
For more options, visit https://groups.google.com/d/optout.