Welcome Guest Search | Active Topics | Sign In | Register

LoadHtmlAndWait - set timeout Options
serializer
Posted: Tuesday, February 21, 2017 10:44:35 AM
Rank: Advanced Member
Groups: Member

Joined: 5/9/2016
Posts: 84
Is it possible to set a max timeout for this? So it fails after a certain time?

Thanks
eo_support
Posted: Tuesday, February 21, 2017 10:46:44 AM
Rank: Administration
Groups: Administration

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

In that case you would use LoadHtml(html).WaitOne(time_out) instead. LoadHtmlAndWait() is just a short cut of LoadHtml(html).Wait(INFINITE).

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.