com.applitools.eyes.ScrollPositionMemento 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;
/**
* Encapsulates state for {@link ScrollPositionProvider} instances.
*/
class ScrollPositionMemento extends PositionMemento {
private final Location position;
/**
*
* @param l The current location to be saved.
*/
public ScrollPositionMemento(Location l) {
position = new Location(l);
}
public int getX() {
return position.getX();
}
public int getY() {
return position.getY();
}
}