The information in this topic may be out of date. The current SDK reference guide has moved here.

TestResultContainer class

Platform: Selenium 4Language: JavaScript SDK:
An object of this type represents the result of running a test. It bundles together the test results and an exception status.

Methods

getException()
Returns an indication if the test failed with an exception.
getTestResults()
Returns an object with the test results for this test.