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

[feature request] streaming part of the webpage

Open imbible opened this issue 1 year ago • 0 comments

Puppeteer can capture a screenshot of a part of the webpage by using CSS selectors. It will be awesome if puppeteer-stream can provide similar feature for streaming a part of the webpage by using CSS selectors. I understand #132 asked this as a question and found a workaround which worked for the specific webpage that the author tested, but I doubt the workaround will work ubiquitously on most website, so I believe this can be feature to provide in puppeteer-stream. Let's take the sample code for example. A possible scenario is that the user only wants to stream the Youtube video but not the whole page.

imbible avatar Feb 14 '24 16:02 imbible