Skip to content

A Node tool for capturing web page screenshots using Puppeteer

Notifications You must be signed in to change notification settings

TomasHubelbauer/shoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shoot

A CLI tool for capturing web page screenshots.

Installation

  • npm i -g tomashubelbauer/shoot to install/update globally
  • npx tomashubelbauer/shoot to execute ad-hoc

Usage

shoot . or shoot test.html or shoot google.com/ncr

API

This package does not export any API, use Puppeteer.

Testing

node . google.com/ncr or node . test.html

Status

Not maintained.

Changelog

2020-05-20

Resolves file names to file:// URLs and prepends http:// if missing.

2020-03-27

Initial version released.

To-Do

Add an option to capture full page screenshots

Add an option to wait for a selector or a timeout

If index.html exists and there is no argument, assume index.html

Add a help switch

Add a switch to disable web security to allow fetch on file:// protocol

Maybe do this automatically?

About

A Node tool for capturing web page screenshots using Puppeteer

Topics

Resources

Stars

Watchers

Forks