I'm trying to automate the pressing of the following button in selenium, but I'm used to referring to elements using their ID. This button has no ID:
<button type="button" class="button-error en-button" ng-transclude=""
en-tap="AssignDateTime();showModal('utilities/assignment
editior/delete',{item:item}, assignmentslist.refresh)" style="touch-
action: manipulation; user-select: none; -webkit-user-drag: none; -
webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
<en-icon icon="trash" class="ng-scope">
</en-icon>
</button>