gri*_*ett 2 integration-testing angularjs protractor
我的e2e测试中有以下简单的代码行...
var promise = ptor.isElementPresent(element(by.binding('firstName')));
Run Code Online (Sandbox Code Playgroud)
我得到一个错误说TypeError: Invalid locator.谷歌搜索后我没有看到很多其他人收到此错误.我在哪里犯了错误?
我相信语法是(删除element(...)...
var promise = ptor.isElementPresent(by.binding('firstName'));
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4598 次 |
| 最近记录: |