floatingRegions method

Class: WebdriverioCheckSettingsPlatform: WebdriverIO 5Language: JavaScript SDK:

Define multiple floating regions for this target.

Syntax


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

Parameters

maxOffset
Type:number
The maximum amount that the region can shift in any direction and still be considered matching.
regionsOrContainers
Type:... Region
One or more regions or containers.

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.