I am getting the following error message for my protractor test scripts. The scripts were running fine until I updated my projects for a few of the scripts. The scripts run and the error is thrown at the end. I have tried browser.waitForAngular();
and browser.sleep()
with no success.
Failed: Error while waiting for Protractor to sync with the page: "angular could not be found on the window" Stack: Error: Failed: Error while waiting for Protractor to sync with the page: "angular could not be found on the window" at /Users/faizul/WebstormProjects/canary/node_modules/protractor/node_modules/jasminewd2/index.js:104:16 at /Users/faizul/WebstormProjects/canary/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1582:15 at [object Object].webdriver.promise.ControlFlow.runInNewFrame_ (/Users/faizul/WebstormProjects/canary/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1654:20) at notify (/Users/faizul/WebstormProjects/canary/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:465:12)