Skip to main content

IgnoreRegionBySelector class

Platform: Selenium
Language: Python


Used to create a region based on a selector, to be passed to the method floating.

Import statement

from from applitools.selenium import Eyes, Target,from applitools.selenium.visual_grid import VisualGridRunner import IgnoreRegionBySelector

IgnoreRegionBySelector method

Syntax

region = IgnoreRegionBySelector(by, value)

Parameters

by

Type: str

The 'by' part of a Selenium selector for an element which represents the inner region.

value

Type: str

The 'value' part of a Selenium selector for an element which represents the inner region.

Return value

Type: IgnoreRegionBySelector