Previously, google voice had a method to extract SMS codes using a "div" element. Recently, they made the switch to an ARIA-based framework with AngularJS. How can I now retrieve the string containing all my SMS codes from the webpage?
Below is the command I have been utilizing along with the target XPath:
var search2 = document.evaluate('//*[@id="messaging-view"]/div/md-content/div/gv-conversation-list/md-virtual-repeat-container/div/div[2]/div[1]/div/gv-text-conversation-item/gv-conversation-item/div/div[2]/ng-transclude/gv-conversation-item-detail/gv-annotation/text()',
document, null, XPathResult.ANY_TYPE, null);
This is the result that appears in my Chrome Developer console