getAsExpected method

Class: MatchResultPlatform: Selenium 4Language: JavaScript SDK:

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

Syntax

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

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

Parameters

This method does not take any parameters.

Return value

Type: boolean