No release in over 3 years
Low commit activity in last 3 years
Full-page screenshots for Chrome in Selenium WebDriver
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1.0
~> 2.4.0
~> 10.5.0
~> 2.16.0
~> 3.2

Runtime

 Project Readme

chromedriver-screenshot

Gem Version Build Status

Full page screenshots for Chrome in Selenium WebDriver

Usage

Simply require the gem. Whenever you take a screenshot, 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.

Configs

You can switch to the old screenshot behavior by changing the take_full_screenshots config:

ChromedriverScreenshot.take_full_screenshots = false

Known issues:

  1. Screenshots on Retina displays quadruple in size. As a result, screenshots are cropped incorrectly.

TODO:

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