Open lofti198 opened 5 months ago
Thank you for the report. I'm on vacation right now. I'll take a look at it on Monday!
Thank you have a great vacation! !UPDATE! just found that commenting SlowMo fixes issue. However it seems that using it is sometimes important to imitate real user behavior (for example loading websites with cloudflar):
var launchOptions = new LaunchOptions { Headless = false, IgnoredDefaultArgs= new[] {"--disable-extensions"}, // SlowMo = 5, Args = new string[] { }
};
That helps a lot!
.NET 8 console app, PuppeteerSharp 17.0.0. Loading this webpage https://www.olx.uz/d/obyavlenie/novyy-teplyy-svitshot-ls-vaikiki-ID34mqR.html . Trying to evaluate js, however getting strange exception (js checked in dev console and is correct):
Protocol error(Runtime.callFunctionOn): Target closed. (Connection failed to process Network.requestWillBeSent. Timeout of 1000 ms exceeded. at PuppeteerSharp.Helpers.TaskHelper.WithTimeout[T](Taskb 0>d.MoveNext() in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/Cdp/FrameManager.cs:line 206)
1 task, TimeSpan timeout, Func
2 exceptionFactory) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/Helpers/TaskHelper.cs:line 180 at PuppeteerSharp.Cdp.FrameManager.<>cDisplayClass58_0.<my code below