Package net.thucydides.model.domain
Class ErrorMessageFormatter
java.lang.Object
net.thucydides.model.domain.ErrorMessageFormatter
Converts a full WebDriver message into a shorter, more web-friendly format.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the first line only of the error message.
-
Constructor Details
-
ErrorMessageFormatter
-
-
Method Details
-
getShortErrorMessage
Returns the first line only of the error message. This avoids polluting the UI with unnecessary details such as browser versions and so forth.
-