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:
- Screenshots on Retina displays quadruple in size because Apple is a piece of shit. As a result, screenshots are cropped incorrectly.
TODO:
- Better inheritance/monkeypatching
- Find a solution to the Retina bullshit
- Refactor singleton platforms class
- Refactor ChunkyPNG method
- Add e2e tests
- Finish unit tests