I'm intercepting into an html page and need to find all anchors having "Select All" in their inner html.
I need to write a piece of JavaScript to find all the anchors and then Click them.
I'm going to write a javascript like this:
// there is no method like getElementByInnerHtml so I don't know what to do
var anc = document.getElementByInnerHtml('Select All');
anc.click();
I'm not able to use jquery or any other language specific methods. Only standard HTML DOM methods are available.