Record a specific div #92
HutchNunez
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using puppeteer-screen-recorder in AWS Lambda. Is it possible instead of recording the entire screen, to record a particular target div? Similar to this,
const select = await page.waitForSelector(".car-container")
await select.screenshot({path:'cars.png'})
Beta Was this translation helpful? Give feedback.
All reactions