Code: Select all
ins_rus.evaluate("document.querySelector('#tablaCentralLogin > tbody > tr:nth-child(4) > td > input.botonInicio').click();")
;loging to my page
ins_rus.waitforload()
ins_rus.evaluate("document.querySelector('#z_d__e-label').click();")
;now an iframe appears with first source clicked
ins_rus.waitforload()
ins_rus:=pag_rus.getPage()
;into new link there is a 'iframe' with many sources, i want to check when the source is load to do any function, alert for example
rus_frame:=ins_rus.evaluate("document.getElementById('z_d__t4')")
rus_frame.addEventListener("load", "function() {alert('test');}")
;it is not working, is it the correct way? sorry for my poor english