angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.75k stars 2.31k forks source link

Protractor not working for Firefox version 28.0 #638

Closed mohit-excelindia closed 10 years ago

mohit-excelindia commented 10 years ago

I upgraded my firefox to latest version which is 28.0 and after that my Protractor test stopped working for it.

elgalu commented 10 years ago

Firefox 28.0 works fine for me with protractor 0.20.1

What protractor version are you using? And what error are you seeing?

mohit-excelindia commented 10 years ago

I was running protractor version 0.16.1.

I was getting following stacktrace Using the selenium server at http://localhost:4444/wd/hub

E:\BYUI\BYUI\EPS\Product\SarasNG.Tutoring\SarasNG.Tutoring.Web\ProtractorAutomat ion\EPS\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\pr omise.js:1549 throw error; ^ UnknownError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. F irefox console output: * LOG addons.manager: Application has been upgraded * LOG addons.xpi: startup * LOG addons.xpi: Skipping unavailable install location app-system-local * 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: C:\ Users\MOHIT~1.GUP\AppData\Local\Temp\anonymous6013079836928764908webdriver-profi le\extensions\webdriver-staging * LOG addons.xpi: checkForChanges * LOG addons.xpi: Directory state JSON differs: cache [] state [{"name":"winre g-app-global","addons":{"{BBDA0591-3099-440a-AA10-41764D9DB4DB}":{"descriptor":" C:\ProgramData\Symantec\Symantec Endpoint Protection\12.1.2015.2015.105\Dat a\IPSFF","mtime":1395795586582,"rdfTime":1395795586581},"fiddlerhook@fiddler2.c om":{"descriptor":"C:\Program Files (x86)\Fiddler2\FiddlerHook","mtime":13927 93933211,"rdfTime":1388176104000}}},{"name":"app-global","addons":{"{972ce4c6-7e 08-4474-a285-3208198ce6fd}":{"descriptor":"C:\Program Files (x86)\Mozilla Fire fox\browser\extensions{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":139574 6509125,"rdfTime":1395746509053}}},{"name":"app-profile","addons":{"fxdriver@goo glecode.com":{"descriptor":"C:\Users\MOHIT~1.GUP\AppData\Local\Temp\anonym ous6013079836928764908webdriver-profile\extensions\fxdriver@googlecode.com","m time":1395824134480,"rdfTime":1395824134344}}}] * LOG addons.xpi-utils: Opening XPI database C:\Users\MOHIT~1.GUP\AppData\Loca l\Temp\anonymous6013079836928764908webdriver-profile\extensions.json * LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile * Blocklist::_loadBlocklistFromFile: blocklist is disabled *\ LOG addons.xpi-utils: Make addon app-profile:fxdriver@googlecode.com visible

* LOG DeferredSave/extensions.json: Save changes * LOG DeferredSave/extensions.json: Save changes * LOG addons.xpi: New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global * LOG addons.xpi-utils: Make addon app-global:{972ce4c6-7e08-4474-a285-3208198 ce6fd} visible * LOG DeferredSave/extensions.json: Save changes * LOG DeferredSave/extensions.json: Save changes * LOG addons.xpi: New add-on {BBDA0591-3099-440a-AA10-41764D9DB4DB} installed in winreg-app-global * LOG addons.xpi-utils: Make addon winreg-app-global:{BBDA0591-3099-440a-AA10- 41764D9DB4DB} visible * LOG DeferredSave/extensions.json: Save changes * LOG DeferredSave/extensions.json: Save changes * LOG addons.xpi: New add-on fiddlerhook@fiddler2.com installed in winreg-app- global * LOG addons.xpi-utils: Make addon winreg-app-global:fiddlerhook@fiddler2.com visible * LOG DeferredSave/extensions.json: Save changes * LOG DeferredSave/extensions.json: Save changes * 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 DeferredSave/extensions.json: Starting timer * LOG DeferredSave/extensions.json: Starting write * LOG DeferredSave/extensions.json: Write succeeded * LOG addons.xpi-utils: XPI Database saved, setting schema version preference to 15 * LOG addons.manager: shutdown * LOG addons.xpi: shutdown * LOG addons.xpi-utils: shutdown * LOG addons.xpi: Notifying XPI shutdown observers * LOG addons.manager: Async provider shutdown done * LOG addons.xpi: startup * LOG addons.xpi: Skipping unavailable install location app-system-local * 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: C:\ Users\MOHIT~1.GUP\AppData\Local\Temp\anonymous6013079836928764908webdriver-profi le\extensions\webdriver-staging * LOG addons.xpi: checkForChanges * LOG addons.xpi: No changes found *\ Blocklist::_loadBlocklistFromFile: blocklist is disabled JavaScript error: chrome://browser/content/urlbarBindings.xml, line 648: aUrl is undefined

juliemr commented 10 years ago

This does not look like a Protractor error - I think your selenium server may need to be updated. Can you try running webdriver-manager update? Or re-installing?

mohit-excelindia commented 10 years ago

I installed the latest version of Protractor and ran selenium-server-standalone-2.39.0.jar file, but still the same error.

juliemr commented 10 years ago

Try updating again - maybe this was due to a mismatch between selenium 2.39 and 2.40.

juliemr commented 10 years ago

Haven't heard anything, closing as obsolete.