Skip to content

Driven by a yaml config file, uses Selenium via xvfb to do headless screenshots of webpages and save them locally (or) in Manta.

License

Notifications You must be signed in to change notification settings

kitdallege/hs-screenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hs-screenshot

Takes a screen shot of the configured webpages and save them to disk with the option of uploading them to Manta.

jarFile: ~/java-stuff/selenium-server-standalone-2.53.0.jar
debug: false
pages:
    - url: http://haskellnews.org/
      file: /tmp/hn.png
      manta: public/news/hn.png

Required Fields

  • jarFile
  • pages
  • url
  • file

Optional Fields

  • debug
  • manta

If you do plan to use Manta currently its configured via setting environment variables.

$MANTA_USER
$MANTA_URL
$MANTA_KEY_ID

Consult the Manta API Doc's for more information.

FWIW

This is just some code I wrote to scratch an itch, not planning on making anything out of it or publishing it to hackage, etc.

Figured it might help someone who's trying to do something similar so thus its here on github.com

About

Driven by a yaml config file, uses Selenium via xvfb to do headless screenshots of webpages and save them locally (or) in Manta.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published