Using this will cause timeout issues with headless set to true. Can be recreated with Multi-Threading and having the following code on a login page.
Ex Code:
try
{
await page.WaitForSelectorAsync("#loginUsername");
}
catch (WaitTaskTimeoutException)
{
Console.WriteLine("Timed out.");
await browser.CloseAsync();
}
Using default Puppeteer does not have this issue.
Using this will cause timeout issues with headless set to true. Can be recreated with Multi-Threading and having the following code on a login page.
Ex Code:
try
{
await page.WaitForSelectorAsync("#loginUsername");
}
Using default Puppeteer does not have this issue.