StaleElementException when Clicking on a TableRow in an Angular WebPage
<div id="crm" class="row gridrow clickable ng-scope" ng-repeat="customer in customerList" ng-click="gotoRecord(customer.id)"> <i class="col m1 s1 tiny fa fa-male"></i> <div class="col m3 s11 ng-binding"> Allard</div> <div class="col m2 s12 ng-binding"></div> </div> I have this snippet of HTML, it's one row displaying as a result of a search action for a Customer with nameCustomer 'Allard'. I want to click on this customer to continue to the next page but most of the time this results in a StaleElementException. I tried it two different ways, using Protractor and without Protractor. First way: