puppeteer-sharp
puppeteer-sharp copied to clipboard
MainFrame of Page.cs throws NullReferenceException
In my project I am using the "EvaluateFunctionAsync" and "QuerySelectorAsync" methods of the Page object and this methods throws NullRefferenceException. It happens kinda infrequently and because of it I even wasn't able to reproduce it, I can see this problem only in logs.
It seems to me it happens because of MainFrame property is null for some reason.
I saw another issue with the nullref, will it fix this problem?
Thanks