当我尝试在afterEach函数中的非角度页面到角度页面设置 browser.ignoreSynchronization = false 之间切换时,我的量角器出现以下错误。
Error while waiting for Protractor to sync with the page: "[ng:test] no injector found for element argument to getTestability\nhttp://errors.angularjs.org/1.3.14/ng/test
有谁知道我该怎么做才能解决这个问题?
答案 0 :(得分:1)
使用browser.driver.get
代替browser.get
。