2
0

#68 and other chromium connectors: Wait for page to be fully loaded

This commit is contained in:
glax 2023-10-20 14:47:07 +02:00
parent 2302e1009b
commit e72301d062

View File

@ -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;