Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Não funcionou

Boa noite Senhores: não funcionou... podem me ajudar segue o log abaixo.

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: 1409441519453 addons.manager DEBUG Application has been upgraded 1409441519460 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"] 1409441519462 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"] 1409441519465 addons.xpi DEBUG startup 1409441519466 addons.xpi DEBUG Skipping unavailable install location app-system-share 1409441519467 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions/webdriver-staging 1409441519487 addons.xpi DEBUG checkForChanges 1409441519492 addons.xpi DEBUG Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/Applications/Firefox.app/Contents/MacOS/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1407714954000,"rdfTime":1407714947000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"/var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions/fxdriver@googlecode.com","mtime":1409441519000,"rdfTime":1409441519000}}}] 1409441519496 addons.xpi-utils DEBUG Opening XPI database /var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions.json 1409441519497 addons.xpi DEBUG New add-on fxdriver@googlecode.com installed in app-profile 1409441519574 addons.xpi-utils DEBUG Make addon app-profile:fxdriver@googlecode.com visible 1409441519575 DeferredSave.extensions.json DEBUG Save changes 1409441519576 DeferredSave.extensions.json DEBUG Save changes 1409441519576 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global 1409441519579 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible 1409441519579 DeferredSave.extensions.json DEBUG Save changes 1409441519579 DeferredSave.extensions.json DEBUG Save changes 1409441519584 addons.xpi DEBUG Updating database with changes to installed add-ons 1409441519584 addons.xpi-utils DEBUG Updating add-on states 1409441519585 addons.xpi-utils DEBUG Writing add-ons list 1409441520035 DeferredSave.extensions.json DEBUG Starting timer 1409441520058 DeferredSave.extensions.json DEBUG Starting write 1409441520090 addons.manager DEBUG shutdown 1409441520090 addons.xpi DEBUG shutdown 1409441520090 addons.xpi-utils DEBUG shutdown 1409441520139 DeferredSave.extensions.json DEBUG Write succeeded 1409441520139 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16 1409441520139 addons.xpi DEBUG Notifying XPI shutdown observers 1409441520142 addons.manager DEBUG Async provider shutdown done 1409441520657 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"] 1409441520658 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"] 1409441520660 addons.xpi DEBUG startup 1409441520660 addons.xpi DEBUG Skipping unavailable install location app-system-share 1409441520662 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions/webdriver-staging 1409441520681 addons.xpi DEBUG checkForChanges 1409441520687 addons.xpi DEBUG No changes found

at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:101) at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:207) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:93) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:147) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:85) at TesteAutoamtizado.main(TesteAutoamtizado.java:9) Exception in thread "main" org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin) on port 7055; process output follows: 1409441519453 addons.manager DEBUG Application has been upgraded 1409441519460 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"] 1409441519462 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"] 1409441519465 addons.xpi DEBUG startup 1409441519466 addons.xpi DEBUG Skipping unavailable install location app-system-share 1409441519467 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions/webdriver-staging 1409441519487 addons.xpi DEBUG checkForChanges 1409441519492 addons.xpi DEBUG Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/Applications/Firefox.app/Contents/MacOS/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1407714954000,"rdfTime":1407714947000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"/var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions/fxdriver@googlecode.com","mtime":1409441519000,"rdfTime":1409441519000}}}] 1409441519496 addons.xpi-utils DEBUG Opening XPI database /var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions.json 1409441519497 addons.xpi DEBUG New add-on fxdriver@googlecode.com installed in app-profile 1409441519574 addons.xpi-utils DEBUG Make addon app-profile:fxdriver@googlecode.com visible 1409441519575 DeferredSave.extensions.json DEBUG Save changes 1409441519576 DeferredSave.extensions.json DEBUG Save changes 1409441519576 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global 1409441519579 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible 1409441519579 DeferredSave.extensions.json DEBUG Save changes 1409441519579 DeferredSave.extensions.json DEBUG Save changes 1409441519584 addons.xpi DEBUG Updating database with changes to installed add-ons 1409441519584 addons.xpi-utils DEBUG Updating add-on states 1409441519585 addons.xpi-utils DEBUG Writing add-ons list 1409441520035 DeferredSave.extensions.json DEBUG Starting timer 1409441520058 DeferredSave.extensions.json DEBUG Starting write 1409441520090 addons.manager DEBUG shutdown 1409441520090 addons.xpi DEBUG shutdown 1409441520090 addons.xpi-utils DEBUG shutdown 1409441520139 DeferredSave.extensions.json DEBUG Write succeeded 1409441520139 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16 1409441520139 addons.xpi DEBUG Notifying XPI shutdown observers 1409441520142 addons.manager DEBUG Async provider shutdown done 1409441520657 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"] 1409441520658 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"] 1409441520660 addons.xpi DEBUG startup 1409441520660 addons.xpi DEBUG Skipping unavailable install location app-system-share 1409441520662 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions/webdriver-staging 1409441520681 addons.xpi DEBUG checkForChanges 1409441520687 addons.xpi DEBUG No changes found

Build info: version: '2.22.0', revision: '17049', time: '2012-05-29 13:31:45' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.4', java.version: '1.6.0_65' Driver info: driver.version: FirefoxDriver at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:113) at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:207) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:93) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:147) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:85) at TesteAutoamtizado.main(TesteAutoamtizado.java:9) Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: 1409441519453 addons.manager DEBUG Application has been upgraded 1409441519460 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"] 1409441519462 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"] 1409441519465 addons.xpi DEBUG startup 1409441519466 addons.xpi DEBUG Skipping unavailable install location app-system-share 1409441519467 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions/webdriver-staging 1409441519487 addons.xpi DEBUG checkForChanges 1409441519492 addons.xpi DEBUG Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/Applications/Firefox.app/Contents/MacOS/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1407714954000,"rdfTime":1407714947000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"/var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions/fxdriver@googlecode.com","mtime":1409441519000,"rdfTime":1409441519000}}}] 1409441519496 addons.xpi-utils DEBUG Opening XPI database /var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions.json 1409441519497 addons.xpi DEBUG New add-on fxdriver@googlecode.com installed in app-profile 1409441519574 addons.xpi-utils DEBUG Make addon app-profile:fxdriver@googlecode.com visible 1409441519575 DeferredSave.extensions.json DEBUG Save changes 1409441519576 DeferredSave.extensions.json DEBUG Save changes 1409441519576 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global 1409441519579 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible 1409441519579 DeferredSave.extensions.json DEBUG Save changes 1409441519579 DeferredSave.extensions.json DEBUG Save changes 1409441519584 addons.xpi DEBUG Updating database with changes to installed add-ons 1409441519584 addons.xpi-utils DEBUG Updating add-on states 1409441519585 addons.xpi-utils DEBUG Writing add-ons list 1409441520035 DeferredSave.extensions.json DEBUG Starting timer 1409441520058 DeferredSave.extensions.json DEBUG Starting write 1409441520090 addons.manager DEBUG shutdown 1409441520090 addons.xpi DEBUG shutdown 1409441520090 addons.xpi-utils DEBUG shutdown 1409441520139 DeferredSave.extensions.json DEBUG Write succeeded 1409441520139 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16 1409441520139 addons.xpi DEBUG Notifying XPI shutdown observers 1409441520142 addons.manager DEBUG Async provider shutdown done 1409441520657 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"] 1409441520658 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"] 1409441520660 addons.xpi DEBUG startup 1409441520660 addons.xpi DEBUG Skipping unavailable install location app-system-share 1409441520662 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /var/folders/_c/54wvpjz93xq827tlvdvvksg80000gn/T/anonymous3674926344090838744webdriver-profile/extensions/webdriver-staging 1409441520681 addons.xpi DEBUG checkForChanges 1409441520687 addons.xpi DEBUG No changes found

at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:101) ... 5 more

1 resposta
solução!

Atualizei o Selenium para a versão 2.42 e funcionou :)