I have a problem with ng-binding locator in Protractor code:
<h1 class="blackText ng-binding">some_link</h1>
I tried to use:
element(by.binding('some_link')).click();
但它没有找到任何东西。
This works:
element(by.cssContainingText('.ng-binding', 'some_link')).click();
但我想使用绑定定位器。
有任何想法吗 ?