html:
<button class="helperButton ng-scope" ng-if="!isDisabled && displayHelper( 'none' )" ng-click="select( 'none', $event );" type="button"> × Select None</button>
trying to locate with:
element(by.css('button[ng-click="select( \'none\', $event );"]'));
get error:
Failed: No element found using locator: By.cssSelector("button[ng-click=\"select( 'none', $event );\"]")
this link provides a solution AngularJS Protractor - Finding an Element on a Page Using Ng-Click Binding but does not have details to the function its referencing. Any help would be appreciated.