puppeteer-sharp icon indicating copy to clipboard operation
puppeteer-sharp copied to clipboard

I can not render mi webpage when headless is true

Open ExpErgio opened this issue 1 year ago • 1 comments

Hello. I expose my problem. I am trying to access a website with PuppeteerSharp which, conveniently and on purpose, I will not be able to access. This is because the only thing I need is a code that generates that website after performing several actions that are not relevant now.

The question is: if I set "headless" to "false", the page will not load after a few seconds, but google will generate a web view as shown on the screen. When generating it, my code will be found in the HTML code and I will be able to get it (image 1) imagen1

On the contrary, if I set my "headless" to "true", the page will not load, but google does not generate the preview in which my code is inserted. It stays as a completely blank screen, as seen on the screen (image 2) imagen2

Is there anything I can do?

ExpErgio avatar Jul 26 '22 07:07 ExpErgio

How is your code inserted in the Chrome error page?

kblok avatar Sep 19 '22 11:09 kblok