sindresorhus/capture-website



The issue has been solved
Add `scrollToElement` option #5
sindresorhus posted onGitHub
Useful if you want to capture a part of the screen that contain a certain element.
The value can either be a CSS selector string or an object like:
{
element: '#foo',
offsetFrom: 'top', // Accepts `top`, `right, `bottom`, `left
offset: 10 // Pixels
}
The above object is not set in stone. Happy to receive feedback on it.
I'm also not sure how the object value should be implemented for the command-line interface.
Fund this Issue
Rewarded pull request
Add `scrollToElement` option #15submitted byhicom150(31)
Click to copy link
Recent activities