https://github.com/th0r/phantomjs-webscreen
Simple PhantomJS script to capture webpage screenshots
https://github.com/th0r/phantomjs-webscreen
Last synced: 12 months ago
JSON representation
Simple PhantomJS script to capture webpage screenshots
- Host: GitHub
- URL: https://github.com/th0r/phantomjs-webscreen
- Owner: th0r
- Created: 2013-07-11T09:16:57.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-07-11T10:24:18.000Z (about 13 years ago)
- Last Synced: 2025-01-16T22:18:13.810Z (over 1 year ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#phantomjs-webscreen
Simple PhantomJS script to capture webpage screenshots
##Usage:
From command line:
$ phantomjs webscreen.js webpage_url screenshot_file [window_size=1280x1024]
Parameters:
`webpage_url` - URL of the page to capture screenshot from. **Required.**
`screenshot_file` - Absolute ot relative path to the captured screenshot. **Required.**
`window_size` - Size of the browser window (and screenshot) in `width`x`height` format. **Optional** (default is `1280x1024`).
Example:
$ phantomjs webscreen.js http://google.com google.png 1920x1080