Search code examples
angularjsfirefoxseleniumprotractorangularjs-e2e

protractor and firefox timing out when testing AngularJS


I'm getting a timeout issue too. Here is the output while protractor was running. It contains the issues. https://gist.github.com/c0debreaker/980b3e3636487894337c

My firefox version is 35.0.1. So here is what happens. When I execute protractor conf.js, it will fire up firefox and the location bar gets populated with the url we have on our spec.js file. Unfortunately, it won't display the page though I am not sure if it really requires the page to get loaded. It's just white screen. However, if I click Reload button on my firefox, the site's pages gets rendered quickly.

Here is the screenshot of Firefox failing to load the page when it's instructed by Protractor. https://i.sstatic.net/78OQW.png

Here is the output of webdriver-manager start https://gist.github.com/c0debreaker/876fbaf7a0eb68007d63


Solution

  • This is a known issue. Firefox 35 is not compatible with the currently latest selenium 2.44.

    The workaround would be to downgrade to Firefox 34.0.5.

    See more information and relevant issue links at: