Code: Select all
function (min max)
Browser.RunScript
· "return new Promise(e=>{setTimeout(()=>e(!0),argument.min+Math.floor(Math.random()*(argument.max-argument.min+1))),window.addEventListener('unload',()=>e(!1))}).then(e=>{e||global.log('Page navigated away before the delay completed!')});"
· struct
min
+
· min
· 0
max
+
· max
· 0
Code: Select all
RandomWait
· 5000
· 10000