Closed Telavian closed 3 years ago
Closed due to inactivity. Feel free to reopen it if needed.
If I remember correctly then I think I needed to have less browser instances running per process. I think it was better to have 2 processes with fewer browsers than 1 with more. Running slightly below is better than slightly above.
Headless browsers have been a huge ordeal for us and we have tried puppeteer, playwright, selenium, and cefsharp. With firefox, edge, and chrome. Each has advantages when compared individually.
However by far the best choice has been cefsharp. It is slower but it has been significantly more stable for us. I was going to investigate webview2 however will likely not do that for a while.
I also needed to create a single browser instance at a time however I honestly don't remember why now.
using (await _creationLock.LockAsync())
{
// CreateBrowser
}
Description
I am using MS Edge 81.0.416.68 in Win 10 and I sporadically see issues when attempting to load a new browser. It also seems in this case that the browser hangs around and doesn't get killed.
Not sure how to get more information or where to look for more information actually. It might have something to do with high amounts of browsers being created or high load. I am investigating further.
Are there any load test type projects currently using puppeteer-sharp?