Skip to content

0.2

Compare
Choose a tag to compare
@simonw simonw released this 09 Mar 21:05
· 206 commits to main since this release
ccfd42a
  • shot-scraper --selector SELECTOR option to specify an element on the page using a CSS selector and take a screenshot of just that element. #8
  • selector: ... key in YAML file to specify an element by CSS selector.
  • --javascript SCRIPT option to specify custom JavaScript to be executed after the page has loaded but before the screenshot is taken. #12
  • javascript: key in YAML to specify JavaScript to execute.
  • --width and --height options to set the width and height of the browser window used for the screenshot. If a height is specified, the resulting screenshot will be that height rather than being the full height of the page. #13
  • Equivalent width: and height: keys in the YAML configuration.