Hi, from a Chrome extension I would like to auto-click on (print) confirmation but this script partially works:
setTimeout(function()
{
labels = document.querySelectorAll('label');
if (labels[1].innerText == "Modello di stampa")
{document.getElementsByClassName("button confirm")[0].click();}
},500);
Because the page refreshes repeatedly . Could you help me please? Thank you
Here is the snippet code of the copied static page (the site is restricted):
SebinaNEXT BIBLIOTECHE DI ROMA (w3spaces.com)