nodeSavePageWE icon indicating copy to clipboard operation
nodeSavePageWE copied to clipboard

Running entire application in the backend

Open isabirahmed opened this issue 6 years ago • 1 comments

Hey Mark, Thank you for putting this solution together. I was wondering instead of using the client part of the code which needs to be run in the chrome context, can we move it entirely into puppeteer?

Or is there an alternative solution that does this? Thanks!

isabirahmed avatar Jan 17 '20 10:01 isabirahmed

I am not sure that's efficient. Essentially, you would need to query the page a lot from puppeteer which goes through devtools protocol which I found very slow. I found it usually much faster to instead inject scripts into the page and then pipe back output (so you only interact once with the page - injecting the script and getting back output).

markusmobius avatar Jan 17 '20 17:01 markusmobius