I encountered an issue with my Protractor test scripts where I started receiving an error message. Everything was working smoothly until I made some updates to a few scripts in my projects. The error occurs at the end of running the scripts. I attempted using browser.waitForAngular();
and browser.sleep()
but unfortunately, it did not resolve the problem.
Error Alert: Issue detected while attempting to synchronize Protractor with the page: "angular could not be found on the window" Stack Trace: Error: Error Alert: Issue detected while attempting to synchronize Protractor 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)