(defn init-firefox-local-driver
"Initializes Fir efox driver.
And sets a global implicit-wait"
[wait-timeout]
(taxi/set-driver! {:browser-name :firefox
:profile (doto (ff/new-profile)
(ff/set-preferences {"app.update.enabled" false})
(ff/set-preferences {"extensions.firebug.showFirstRunPage" false})
(ff/enable-extension path-firebug))})
(taxi/implicit-wait wait-timeout))
> (init-firefox-local-driver 3000)
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
*** LOG addons.manager: Application has been upgraded
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: /var/folders/by/02s6rgvx0796qbbl_lc0b6cw0000gn/T/anonymous6881712836641956060webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi-utils: Opening database
*** LOG addons.xpi-utils: Creating database schema
*** LOG addons.xpi: New add-on fir...@software.joehewitt.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.xpi: Loading bootstrap scope from /var/folders/by/02s6rgvx0796qbbl_lc0b6cw0000gn/T/anonymous6881712836641956060webdriver-profile/extensions/fir...@software.joehewitt.com
*** LOG addons.xpi: Calling bootstrap method install on fir...@software.joehewitt.com version 1.10.3
*** LOG addons.xpi: New add-on fxdr...@googlecode.com installed in app-profile
*** LOG addons.xpi: New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
*** LOG addons.xpi: Updating database with changes to installed add-ons
*** LOG addons.xpi-utils: Updating add-on states
*** LOG addons.xpi-utils: Writing add-ons list
*** LOG addons.xpi: Calling bootstrap method startup on fir...@software.joehewitt.com version 1.10.3
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi-utils: Database closed
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: /var/folders/by/02s6rgvx0796qbbl_lc0b6cw0000gn/T/anonymous6881712836641956060webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Loading bootstrap scope from /var/folders/by/02s6rgvx0796qbbl_lc0b6cw0000gn/T/anonymous6881712836641956060webdriver-profile/extensions/fir...@software.joehewitt.com
*** LOG addons.xpi: Calling bootstrap method startup on fir...@software.joehewitt.com version 1.10.3
2013-04-05 19:38:05.397 firefox-bin[670:707] invalid drawable
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
[Thrown class org.openqa.selenium.firefox.NotConnectedException]
Restarts:
0: [QUIT] Quit to the SLIME top level
Backtrace:
0: NewProfileExtensionConnection.java:106 org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start
1: FirefoxDriver.java:244 org.openqa.selenium.firefox.FirefoxDriver.startClient
2: RemoteWebDriver.java:110 org.openqa.selenium.remote.RemoteWebDriver.<init>
3: FirefoxDriver.java:188 org.openqa.selenium.firefox.FirefoxDriver.<init>
4: FirefoxDriver.java:183 org.openqa.selenium.firefox.FirefoxDriver.<init>
5: FirefoxDriver.java:179 org.openqa.selenium.firefox.FirefoxDriver.<init>
6: FirefoxDriver.java:96 org.openqa.selenium.firefox.FirefoxDriver.<init>
7: (Unknown Source) sun.reflect.NativeConstructorAccessorImpl.newInstance0
8: NativeConstructorAccessorImpl.java:39 sun.reflect.NativeConstructorAccessorImpl.newInstance
9: DelegatingConstructorAccessorImpl.java:27 sun.reflect.DelegatingConstructorAccessorImpl.newInstance
--more--
--
You received this message because you are subscribed to the Google Groups "clj-webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clj-webdrive...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.