I'm trying to make my script only run the functions when the time is between 9 AM until 6 PM, this is what I've done so far:
In the image it works only before the time hits 6 PM but I do not know how I would check if it is after 9 AM and have these two work togheter.
Create a variable called "counter". Than use "is element exist" to check if element exist and update "counter" variable whenever element is missing. Check counter variable in the loop, and fail thread if "counter" hit 3