com.applitools.eyes.selenium.regionVisibility.NopRegionVisibilityStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-selenium-common-java5 Show documentation
Show all versions of eyes-selenium-common-java5 Show documentation
Applitools Eyes SDK base for Java
package com.applitools.eyes.selenium.regionVisibility;
import com.applitools.eyes.Location;
import com.applitools.eyes.Logger;
import com.applitools.eyes.positioning.PositionProvider;
/**
* An implementation of {@link RegionVisibilityStrategy} which does nothing.
*/
public class NopRegionVisibilityStrategy implements RegionVisibilityStrategy {
private final Logger logger;
public NopRegionVisibilityStrategy(Logger logger) {
this.logger = logger;
}
public void moveToRegion(PositionProvider positionProvider,
Location location) {
}
public void returnToOriginalPosition(PositionProvider positionProvider) {
}
}