ignore method
Add one or more ignore regions to this target (i.e. areas whose content matches anything).
Syntax
eyes.Check(Target.window().ignore(by))
eyes.Check(Target.window().ignore(element))
eyes.Check(Target.window().ignore(css_selector))
eyes.Check(Target.window().ignore(region))
Parameters
- by
- Type:*BySelector
- Any legal Selenium By request passed as a dictionary, for example [By.TAG_NAME, "p"]
- BySelector
- The type BySelector is defined as: List[SeleniumBy,Text]
- element
- Type:*AnyWebElement
- An object whose area defines the area for the region.
- AnyWebElement
- The type AnyWebElement is defined as: Union[EyesWebElement,WebElement]
- css_selector
- Type:*CssSelector
- Any legal CSS selector, for example .myClass
- CssSelector
- The type CssSelector is defined as: Text
- region
- Type:*Region
- An object that defines a rectangular area in the window.
Return value
- Type: SeleniumCheckSettings
- The value returned is the object that called the method. You can use it to call other methods supported by the object class.
Remarks
You may call this method multiple times in a given chain.
Ignore regions should not overlap each other or other types of regions
such as floating or match level regions.