floatingRegions method

Class: WebdriverioCheckSettingsPlatform: WebdriverIO 5Language: JavaScript SDK:

Define multiple floating regions for this target.

Syntax


eyes.check(Target.window().floatingRegions(maxOffset))

Parameters

maxOffset
Type:number
The maximum amount that the region can shift in any direction and still be considered matching.

Return value

Type: WebdriverioCheckSettings
The value returned is the object that called the method. You can use it to call other methods supported by the object class.