FloatingRegion class
Used to create a region based on pixel coordinates, to be passed to the method floating.
Import statement
from from applitools.selenium import Eyes, Target,from applitools.selenium.visual_grid import VisualGridRunner import FloatingRegion
FloatingRegion method
Syntax
region = FloatingRegion(region, bounds)
Parameters
region
Type: Region
An object that defines the region position and size.
bounds
Type: FloatingBounds
The amount the floating region can move in any direction. See FloatingBounds.
Return value
Type: FloatingRegion