hostDisplaySize property

Class: TestResultsPlatform: Selenium 3Language: JavaScript SDK:

Use this property to retrieve the viewport size used to identify the baseline.

Syntax

value = result.hostDisplaySize // type is {width:number; height:number}

Type:

{ width: number; height: number }

The host display size.