Select "Mix Lines" in the resource, that way all the lines are mixed and thus it will have a random line. Or you can use javascript to mix the array list using function shuffle to get a better constant randomization. I believe there's also the option "Shuffle List" under the "List" option
How to deal with popup/overlays on websites?
-
I'm trying to automate stuff on a website, but they'll randomly open up an overlay asking for me to signup for an email newsletter, and then I continue with the script without closing it. Other than attempting to check for the overlay popup every other action so I can close it, how do I deal with this?
-
@boozer That's what I'm currently doing, created a function with short time outs and constantly call it between actions. It's particularly annoying because the popup might not appear, appear instantly, or take 2 minutes. Although maybe I should create a function that tries to close the popups constantly and call it asynchronously.
