When I use browser.get
in my specs I have this error with
ScriptTimeoutError: Timed out waiting for asynchronous Angular tasks to
finish after 11 seconds. This may be because the current page is not an
Angular application. Please see the FAQ for more details:
https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-
for-angular While waiting for element with locator - Locator: By(css
selector, [class="loading ng-scope ng-isolate-scope"]).`
Webdriver is the latest version
- I have to use angular elements in my spec but I tried to change
browser.ignoreSynchronization
totrue
beforebrowser.get(link)
and changed tofalse
after getting page. Nothing changed. I also tried usingbrowser.driver.get(link)
instead ofbrowser.get(link)
. IncreasedallScriptsTimeout: 110000, getPageTimeout: 110000, defaultTimeoutInterval: 600000
What should I do not to take this error?