
public class AndroidScreenshooter extends Object implements Screenshooter
| Constructor and Description |
|---|
AndroidScreenshooter(AndroidDevice device) |
| Modifier and Type | Method and Description |
|---|---|
void |
setScreenshotTargetDir(String screenshotTargetDir) |
void |
setScreensthotImageFormat(ScreenshotType type) |
Screenshot |
takeScreenshot() |
Screenshot |
takeScreenshot(ScreenshotType type) |
Screenshot |
takeScreenshot(String fileName) |
Screenshot |
takeScreenshot(String fileName,
ScreenshotType type) |
public AndroidScreenshooter(AndroidDevice device)
device - Android device to get screenshots ofpublic void setScreenshotTargetDir(String screenshotTargetDir)
setScreenshotTargetDir in interface Screenshooterpublic Screenshot takeScreenshot()
takeScreenshot in interface Screenshooterpublic Screenshot takeScreenshot(String fileName)
takeScreenshot in interface Screenshooterpublic Screenshot takeScreenshot(ScreenshotType type)
takeScreenshot in interface Screenshooterpublic Screenshot takeScreenshot(String fileName, ScreenshotType type)
takeScreenshot in interface Screenshooterpublic void setScreensthotImageFormat(ScreenshotType type)
setScreensthotImageFormat in interface ScreenshooterCopyright © 2013 JBoss by Red Hat. All rights reserved.