rbscreenshot
Take a screenshot in one line.
Usage
-
brew install phantomjsif you haven't installed phantomjs yet. -
gem install 'rbscreenshot' -
require and
RbScreenShot.take 'https://github.com/kaiinui/rbscreenshot'gives ./#{timestamp}.png where timestamp is like 1404631139 (RbScreenShot.take returns the file name.)
