Navigation
shot
Take a full-page screenshot and save it as PNG.
Usage
$ cdpilot shot [<output-path>]Arguments
| Name | Required | Description |
|---|---|---|
output-path | optional | File path for the screenshot. Defaults to ~/.cdpilot/screenshots/screenshot.png |
Examples
Take a screenshot with the default file name
$ npx cdpilot shotSave the screenshot to a custom path
$ npx cdpilot shot /tmp/mypage.png