【问题标题】:Error while waiting for Protractor to sync with the page: "[ng:test] no injector found for element argument to getTestability等待量角器与页面同步时出错:“[ng:test] 找不到用于 getTestability 的元素参数的注入器
【发布时间】:2015-09-25 07:42:24
【问题描述】:

当我尝试在 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

有谁知道我可以做些什么来解决这个问题?

【问题讨论】:

标签: angularjs testing automation jasmine protractor


【解决方案1】:

使用browser.driver.get 代替browser.get

【讨论】:

    猜你喜欢
    • 2014-05-16
    • 2018-12-07
    • 1970-01-01
    • 1970-01-01
    • 2019-08-16
    • 2016-04-26
    • 2019-10-03
    • 1970-01-01
    • 2015-10-05
    相关资源
    最近更新 更多