public class FloatingRegionByElement extends Object implements GetFloatingRegion, IGetSeleniumRegion, com.applitools.eyes.visualgrid.model.IGetFloatingRegionOffsets, ImplicitInitiation
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.WebElement |
element |
protected int |
maxDownOffset |
protected int |
maxLeftOffset |
protected int |
maxRightOffset |
protected int |
maxUpOffset |
| Constructor and Description |
|---|
FloatingRegionByElement(org.openqa.selenium.WebElement element,
int maxUpOffset,
int maxDownOffset,
int maxLeftOffset,
int maxRightOffset) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
getElement() |
List<org.openqa.selenium.WebElement> |
getElements() |
int |
getMaxDownOffset() |
int |
getMaxLeftOffset() |
int |
getMaxRightOffset() |
int |
getMaxUpOffset() |
List<FloatingMatchSettings> |
getRegions(EyesScreenshot screenshot) |
void |
init(Logger logger,
EyesWebDriver driver) |
protected final org.openqa.selenium.WebElement element
protected final int maxUpOffset
protected final int maxDownOffset
protected final int maxLeftOffset
protected final int maxRightOffset
public FloatingRegionByElement(org.openqa.selenium.WebElement element,
int maxUpOffset,
int maxDownOffset,
int maxLeftOffset,
int maxRightOffset)
public void init(Logger logger, EyesWebDriver driver)
init in interface ImplicitInitiationpublic List<FloatingMatchSettings> getRegions(EyesScreenshot screenshot)
getRegions in interface GetFloatingRegionpublic org.openqa.selenium.WebElement getElement()
public List<org.openqa.selenium.WebElement> getElements()
getElements in interface IGetSeleniumRegionpublic int getMaxLeftOffset()
getMaxLeftOffset in interface com.applitools.eyes.visualgrid.model.IGetFloatingRegionOffsetspublic int getMaxUpOffset()
getMaxUpOffset in interface com.applitools.eyes.visualgrid.model.IGetFloatingRegionOffsetspublic int getMaxRightOffset()
getMaxRightOffset in interface com.applitools.eyes.visualgrid.model.IGetFloatingRegionOffsetspublic int getMaxDownOffset()
getMaxDownOffset in interface com.applitools.eyes.visualgrid.model.IGetFloatingRegionOffsetsCopyright © 2021. All rights reserved.