public class FloatingRegionByElement extends Object implements GetFloatingRegion, IGetSeleniumRegion, IGetFloatingRegionOffsets
Constructor and Description |
---|
FloatingRegionByElement(org.openqa.selenium.WebElement element,
int maxUpOffset,
int maxDownOffset,
int maxLeftOffset,
int maxRightOffset) |
Modifier and Type | Method and Description |
---|---|
List<org.openqa.selenium.WebElement> |
getElements(org.openqa.selenium.WebDriver webDriver) |
int |
getMaxDownOffset() |
int |
getMaxLeftOffset() |
int |
getMaxRightOffset() |
int |
getMaxUpOffset() |
List<FloatingMatchSettings> |
getRegions(EyesBase eyesBase,
EyesScreenshot screenshot) |
public FloatingRegionByElement(org.openqa.selenium.WebElement element, int maxUpOffset, int maxDownOffset, int maxLeftOffset, int maxRightOffset)
public List<FloatingMatchSettings> getRegions(EyesBase eyesBase, EyesScreenshot screenshot)
getRegions
in interface GetFloatingRegion
public List<org.openqa.selenium.WebElement> getElements(org.openqa.selenium.WebDriver webDriver)
getElements
in interface IGetSeleniumRegion
public int getMaxLeftOffset()
getMaxLeftOffset
in interface IGetFloatingRegionOffsets
public int getMaxUpOffset()
getMaxUpOffset
in interface IGetFloatingRegionOffsets
public int getMaxRightOffset()
getMaxRightOffset
in interface IGetFloatingRegionOffsets
public int getMaxDownOffset()
getMaxDownOffset
in interface IGetFloatingRegionOffsets
Copyright © 2020. All rights reserved.