When I try to click on the icon to add a new item, nothing happens. I'm not sure if I'm targeting the element correctly.
I attempted the solution provided in this post:
element(by.css('[ng-click="createWL()"]')).click();
element(by.css("button[ng-click*=createWL]")).click();
Unfortunately, these methods did not work for me.
Here is my HTML code:
<button class="md-icon-button watchlist-icon-button md-button md-ink-ripple" type="button" ng-transclude="" id="addWL" aria-label="Add Watchlist" ng-click="createWL()"> <ng-md-icon icon="add_circle_outline" class="ng-scope">