#68 and other chromium connectors: Wait for page to be fully loaded
This commit is contained in:
parent
2302e1009b
commit
e72301d062
@ -62,7 +62,7 @@ internal class ChromiumDownloadClient : DownloadClient
|
||||
{
|
||||
IPage page = this.browser.NewPageAsync().Result;
|
||||
page.DefaultTimeout = 10000;
|
||||
IResponse response = page.GoToAsync(url, WaitUntilNavigation.DOMContentLoaded).Result;
|
||||
IResponse response = page.GoToAsync(url, WaitUntilNavigation.Networkidle0).Result;
|
||||
Log("Page loaded.");
|
||||
|
||||
Stream stream = Stream.Null;
|
||||
|
Loading…
Reference in New Issue
Block a user