code: public static PageSnapshot shootPage(WebDriver driver, ScrollStrategy scroll, boolean useDevicePixelRatio) {
          return shootPage(driver,scroll,0,useDevicePixelRatio);
      }
docs: To be used when screen shooting the page
  and need to scroll while making screen shots, either vertically or
  horizontally or both directions (Chrome).
  
  @param driver WebDriver instance
  @param scroll ScrollStrategy How you need to scroll
  @param  useDevicePixelRatio whether or not take into account device pixel ratio
  @return PageSnapshot instance