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,
Throwable error) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
Throwable |
getError() |
String |
getErrorMessage() |
String |
getFilename() |
Screenshot.HtmlFormattedInfo |
getHtml() |
String |
getShortErrorMessage()
Returns the first line only of the error message.
|
int |
getWidth() |
public Throwable 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.