com.applitools.eyes.NopRegionVisibilityStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-selenium-java-jersey1_17-sf2_53_1 Show documentation
Show all versions of eyes-selenium-java-jersey1_17-sf2_53_1 Show documentation
Applitools Eyes SDK for Selenium Java WebDriver
The newest version!
package com.applitools.eyes;
/**
* An implementation of {@link RegionVisibilityStrategy} which does nothing.
*/
public class NopRegionVisibilityStrategy implements RegionVisibilityStrategy {
private final Logger logger;
NopRegionVisibilityStrategy(Logger logger) {
this.logger = logger;
}
public void moveToRegion(PositionProvider positionProvider,
Location location) {
logger.verbose("Ignored (no op).");
}
public void returnToOriginalPosition(PositionProvider positionProvider) {
logger.verbose("Ignored (no op).");
}
}