Skip to main content

IgnoreRegionByElement class

Platform: Selenium
Language: Python


Used to create a region based on a webelement, to be passed to the method ignore.

Import statement

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

IgnoreRegionByElement method

Syntax

region = IgnoreRegionByElement(element)

Parameters

element

Type: AnyWebElement

A WebElement whose position and size are used to define the ignore region.

Return value

Type: IgnoreRegionByElement