Replies: 1 comment 1 reply
-
As you are using Task.Wait it's whatever works for you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Just wanted to know it is correct way to limit page loading timeout?
Task<LoadUrlAsyncResponse> task = Browser.LoadUrlAsync(url); task.Wait(TimeSpan.FromMilliseconds(LoadTimeoutMs)); if(!task.IsCompleted) throw new TimeoutException("Page is loading to long");
Beta Was this translation helpful? Give feedback.
All reactions