angular / protractor

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

What are the possible reasons for "Error while waiting for Protractor to sync with the page: "angular could not be found on the window" #2250

Closed kasunkv closed 9 years ago

kasunkv commented 9 years ago

When i am running the protractor tests this error pops up randomly. Most of the time the tests run fine and in some occasions this error causes the tests to fail. I am using Page Objects design pattern to write my tests. I still could not pinpoint why this error occurs. What are the possible reasons for the error? How can i fix this.

sjelin commented 9 years ago

As per our CONTRIBUTING.md, please ask this question on Stack Overflow

Also, just guessing, but this sounds like you might be using some non-angular pages, or that you're getting some client side javascript errors that are preventing Angular from loading, or that you're got some page re-direction