public class ScreenshotFormatter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Screenshot |
expandToHeight(int targetHeight) |
static ScreenshotFormatter |
forScreenshot(Screenshot screenshot) |
ScreenshotFormatter |
inDirectory(java.io.File sourceDirectory) |
ScreenshotFormatter |
keepOriginals(boolean shouldKeepOriginalScreenshots) |
public static ScreenshotFormatter forScreenshot(Screenshot screenshot)
public ScreenshotFormatter inDirectory(java.io.File sourceDirectory)
public ScreenshotFormatter keepOriginals(boolean shouldKeepOriginalScreenshots)
public Screenshot expandToHeight(int targetHeight) throws java.io.IOException
java.io.IOException