getException method

Class: TestResultContainerPlatform: PuppeteerLanguage: JavaScript SDK:

Returns an indication if the test failed with an exception.


let value = obj.getException();
value = obj.exception;

Note that this feature is available as both a method and a property.


This method does not take any parameters.

Return value

Type: EyesError
A value that is not null indicates that an exception occured when running the test.