Take screenshot of specific URL.
import pageshot
s = pageshot.Screenshoter()
s.take_screenshot("http://www.google.com", "out.png")
We require phantomjs support.
npm -g install phantomjs
To install, include this in requirements.txt
git+https://github.com/sketchytechky/pageshot.git
Run test with
py.test --pep8
To run test in watch mode
py.test.watch -- --pep8
# same with: ptw -- --pep8