Can page.screenshot accept a component's class, ID, or path?

I want to take a screenshot of one particular component with my worker. I know its ID and I don't want to include other parts of the page. If this is not possible, what is a suggested workaround?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server