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

getAsExpected method

Class: MatchResultPlatform: Selenium 4Language: JavaScript SDK:

A return value of true indicates that the check succeeded}}


let value = obj.getAsExpected();
value = obj.asExpected;

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


This method does not take any parameters.

Return value

Type: boolean