1.0.0 • Published 7 years ago
dom-camera v1.0.0
dom-camera
Take a picture of a dom.
npm i dom-camera
Usage
const capture = require('dom-camera')
await capture('https://example.com', 'h1', 'test.png')
and the output:
API
####capture(url, selector, outputPath)
License
The MIT License
1.0.0
7 years ago