chromedriver-screenshot

Full page screenshots for Chrome in Selenium WebDriver

Usage

Simply require the gem after requiring selenium-webdriver or any dependent DSL (ex. watir) chromedriver-screenshot will snip the page into separate sections, take screenshots of each individual section, and then stitch them together to create a screenshot of the page in its entirety.

Known issues:

  1. Screenshots on Retina displays quadruple in size because Apple is a piece of shit. As a result, screenshots are cropped incorrectly.

TODO:

  1. Better inheritance/monkeypatching
  2. Find a solution to the Retina bullshit
  3. Refactor singleton platforms class
  4. Refactor ChunkyPNG method
  5. Add e2e tests
  6. Finish unit tests