Unable to click on href element <a href="" ng-click="selectPage(totalPages)" class="ng-binding">Last</a> using VBA : I have the following code on VBA:
driver.FindElementByXPath(".//span[text()='Next']").Click
which says element not found. 
to click on 
link [source page][1]
 Any help?

  [1]: https://i.stack.imgur.com/vsmax.png