getIsAborted method

Class: TestResultsPlatform: WebdriverIO 5Language: JavaScript SDK:

Returns whether the test was aborted or not (i.e. if abortIfNotClosed was called and close was not called previously).

Syntax


let value = result.getIsAborted();

Parameters

This method does not take any parameters.

Return value

Type: boolean
Returns true if the test was aborted.