DEV Community

Discussion on: How to turn HTML webpage into an Image?

Collapse
peerreynders profile image
peerreynders • Edited on

Puppeteer: page.screenshot()
Playwright: page.screenshot()
Cypress: cy.screenshot()

Interesting use of Web APIs regardless

CanvasRenderingContext2D.drawImage()
HTMLCanvasElement.toDataURL()

Thread Thread
jasmin profile image
Jasmin Virdi Author

Thanks for mentioning 🙌