NodeJs puppeteer Screenshot - invisible text (UseState)

Viewed 33

I'm using the package puppeteer in nodeJS for screenshot of a signature. I'm saving the name, address, Phone etc - using useState Hook in React.

The screenshot function presents on server, as a GET func. but unfortunately, The text is invisible. I checked and found out that the state didn't update on server. In contrast , on client ,the variables does update.

Thanks for helping Server Client func Screenshot - get called onClick on a button

0 Answers
Related