public class FloatingRegionBySelector extends Object implements GetFloatingRegion, IGetSeleniumRegion, IGetFloatingRegionOffsets, ImplicitInitiation
| Constructor and Description |
|---|
FloatingRegionBySelector(org.openqa.selenium.By regionSelector,
int maxUpOffset,
int maxDownOffset,
int maxLeftOffset,
int maxRightOffset) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public FloatingRegionBySelector(org.openqa.selenium.By regionSelector,
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 List<org.openqa.selenium.WebElement> getElements()
getElements in interface IGetSeleniumRegionpublic int getMaxLeftOffset()
getMaxLeftOffset in interface IGetFloatingRegionOffsetspublic int getMaxUpOffset()
getMaxUpOffset in interface IGetFloatingRegionOffsetspublic int getMaxRightOffset()
getMaxRightOffset in interface IGetFloatingRegionOffsetspublic int getMaxDownOffset()
getMaxDownOffset in interface IGetFloatingRegionOffsetsCopyright © 2021. All rights reserved.