Forum Discussion

BaileyHo's avatar
BaileyHo
Occasional Contributor
9 years ago

What is the proper way to verify a web page AND all of its objects are completely loaded?

What is the proper way to verify a web page AND all of its objects are completely loaded?

 

a lot of the time certain browsers make it appear the page is completely loaded while not all objects have actually been completed.

2 Replies

    • tristaanogre's avatar
      tristaanogre
      Esteemed Contributor

      Something else that I've done in the past is look for other objects, properties, etc., on the page that give indication that the page is fully loaded.  Do an object.WaitProperty call or something similar to wait for a particular object.

       

      If you have good relationship with your developers, you might also want to have them drop in a quick little bit of code that just sets an attribute on one tag on the page that is the "last" thing to be set on a page load.  You can then use that as your trigger in your automation to determine the page load.