I'm glad you've found a solution.
One way I can think of is to pause a few milliseconds before the initial refresh.
Another way is to check if a certain element exists:
If the element exists, move forward. If not, refresh the page.
I'm glad you've found a solution.
One way I can think of is to pause a few milliseconds before the initial refresh.
Another way is to check if a certain element exists:
If the element exists, move forward. If not, refresh the page.