@robojon77 Please wait for the page to finish loading, then you can use other functions.
This error occurs when the page has not finished loading, it can cause the browser to freeze, and error occurs.
The "Wait While Element Exists" action can be used after the page loads to make sure the page is loaded, then you can perform other functions.
Loop section within a script random amount of times before moving on
-
Can someone provide an example code of looping a section within a script a random amount of times before moving on?
Thanks
-
@juniperberry said in Loop section within a script random amount of times before moving on:
Can someone provide an example code of looping a section within a script a random amount of times before moving on?
Thanks
Use the "for" loop and the "Random Number" action
-
Doesn't seem to be working, I want to run the script, then once it gets to a certain part, loop a section of the script, then once its looped the amount of random times, move on.
I'm putting the 'for loop' part before looped section and the current loop repetition after, but it doesn't work, just runs the script as if there isnt the 'for loop' included.
Cheers for any help
-
@juniperberry said in Loop section within a script random amount of times before moving on:
Doesn't seem to be working, I want to run the script, then once it gets to a certain part, loop a section of the script, then once its looped the amount of random times, move on.
I'm putting the 'for loop' part before looped section and the current loop repetition after, but it doesn't work, just runs the script as if there isnt the 'for loop' included.
Cheers for any help
-
thanks man!