self.browser.execute_script(""" for (var i=0;i<=200;i++){ var e = document.querySelector('#spreadsheetReportWaterMark_div' + '' + i); if (e){ e.style.left = "10000px"; } var e = document.querySelector('#spreadsheetReportWaterMark_div' + '0' + i); if (e){ e.style.left = "10000px"; } } """)