nightmare-screenshot
Nightmare plugin for improved screenshot.
.screenshotSelector(path, selector, [cb])
Saves a screenshot of the element which matches the specified selector to the specified path.
Nightmare plugin for improved screenshot.
Saves a screenshot of the element which matches the specified selector to the specified path.
npm i nightmare-screenshot
2
1.0.0
MIT