Welcome Guest Search | Active Topics | Sign In | Register

Verifying document complete with explicit wait Options
Bumphrey
Posted: Wednesday, October 14, 2020 11:23:31 PM
Rank: Newbie
Groups: Member

Joined: 10/14/2020
Posts: 9
I am wondering how to implement a check of the HTML retrieved by the WebView to ensure it is truly loaded (by checking for a string, tag etc) before the control decides it is loaded.

If it is not possible to do this before the state is set as loaded then to reenter the same html session (for want of a better expression) to continue receiving more of the page?

Basically looking for a mechanism to incorporate a check (for string, tag etc) before page is deemed loaded.

Thanks
eo_support
Posted: Thursday, October 15, 2020 3:57:10 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

There are multiples ways to do it. You can handle the WebView.LoadCompleted event, or you can use webView.LoadUrlAndWait. The first option is non-blocking and the second option is blocking.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.