SeleniumVBA
SeleniumVBA copied to clipboard
How to wait until page is completely loaded
Hello! First of all, I'm really appreciate your work about SeleniumVBA and I have used it for a while in my daily work.
Now I am trying to automate some web work using it and it works well. But sometimes, because the office system is very old and process speed can be very slow, so very often when webdriver has already proceed to the next step before the page is totally refreshed(the contents remain unchanged), the StaleElementReferenceException/No Such Element/ error occurs and even some procedures can be skipped without being processed.
To solve the problem, I have used different waits such as "implicit wait","WaitUntilDisplayd","MaxWait" but have no luck(since the contents in the page are same before and after reload so the wait is true?) Is there any other way to solve this problem?
Best regards