No injector found for element argument to getTestability

前端 未结 5 2064
遇见更好的自我
遇见更好的自我 2020-12-05 19:32

I\'m trying to run this tutorial against my own AngularJS code. I can\'t get past the first test. Any attempt to pull any information from my page gets this error:

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 20:22

    The answer is that you must have or at the top of your html page in order to use Protractor.

    Having an app as part of a

    , for example, will not work

提交回复
热议问题