我不时有这样的。
✗ node node_modules/protractor/bin/elementexplorer.js https://www.studytube-staging.nl/login
Type <tab> to see a list of locator strategies.
Use the `list` helper function to find elements by strategy:
e.g., list(by.binding('')) gets all bindings.
Getting page at: https://www.studytube-staging.nl/login
> element
There was a webdriver error: TypeError Object function (locator) {
return new ElementArrayFinder().all(locator).toElementFinder_();
} has no method 'then'
不知道该怎么办,请帮忙。
UPD :关于量角器项目问题页面的讨论 - https://github.com/angular/protractor/issues/1514