accessibilityRegion method
Use to define an accessibility region and its type.
Syntax
eyes.check(Target.window().accessibilityRegion(region, regionType))
Parameters
- region
- Type:GetAccessibilityRegion|Region|AccessibilityMatchSettings
- An object that defines the region and its type.
- regionType
- Type:AccessibilityRegionType
- The accessibility type of the region.
Return value
- Type: ImagesCheckSettings
Remarks
For more information about the Contrast advisor feature see
Contrast advisor