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

getTestResults method

Class: TestResultContainerPlatform: PlaywrightLanguage: JavaScript SDK:

Returns an object with the test results for this test.


let value = obj.getTestResults();
value = obj.testResults;

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


This method does not take any parameters.

Return value

Type: TestResults