screenie

Screenie takes a screenshot of a webpage or a node on a webpage and returns said image as a png.

Endpoint GET /capture

Supported query params

Note

For large viewport width and height, chrome-aws-lambda and puppeteer-core fail and throw.

Examples

Element screenshot - /capture?src=https://mudit.xyz&selector=nav > ul > li:nth-child(3)

Full page screenshot - /capture?src=https://stefanjudis.com&viewportWidth=1024&fullPage=true

Screenshot with transparent background - /capture?src=https://screenie.zdx.cat&selector=header&omitBackground=true&viewportWidth=1200

View source on