To open https://www.yahoo.com/
in chrome ,and to click input
--console
var as=document.getElementsByTagName('a');
for(var i=0;i<as.length;i++){
console.log(as[i]);
}
Now all the 132 anchor elements showed in chrome's console,how to save the parsed anchor elements in local file with js ?