public class Screenshot extends RunOnFailureKeywordsAdapter
| Modifier and Type | Field and Description |
|---|---|
protected BrowserManagement |
browserManagement
Instantiated BrowserManagement keyword bean
|
protected Logging |
logging
Instantiated Logging keyword bean
|
protected int |
screenshotIndex |
| Constructor and Description |
|---|
Screenshot() |
| Modifier and Type | Method and Description |
|---|---|
void |
capturePageScreenshot(String... params) |
protected String |
normalizeFilename(String filename) |
String |
setScreenshotDirectory(String path) |
protected void |
writeScreenshot(File path,
byte[] png) |
runOnFailureByAspectJprotected BrowserManagement browserManagement
protected Logging logging
protected int screenshotIndex
Copyright © 2019. All rights reserved.