public class Screenshot extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Screenshot.HtmlFormattedInfo |
| Constructor and Description |
|---|
Screenshot(String filename,
String description,
int width) |
Screenshot(String filename,
String description,
int width,
FailureCause error) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
FailureCause |
getError() |
String |
getErrorMessage() |
String |
getFilename() |
Screenshot.HtmlFormattedInfo |
getHtml() |
String |
getShortErrorMessage()
Returns the first line only of the error message.
|
int |
getWidth() |
public Screenshot(String filename, String description, int width, FailureCause error)
public FailureCause getError()
public String getErrorMessage()
public String getShortErrorMessage()
public String getFilename()
public String getDescription()
public int getWidth()
public Screenshot.HtmlFormattedInfo getHtml()
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.