com.applitools.eyes.selenium.positioning.ElementPositionMemento Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-selenium-java3-jboss Show documentation
Show all versions of eyes-selenium-java3-jboss Show documentation
Applitools Eyes SDK for Selenium Java WebDriver
package com.applitools.eyes.selenium.positioning;
import com.applitools.eyes.Location;
import com.applitools.eyes.positioning.PositionMemento;
/**
* Encapsulates state for {@link ElementPositionProvider} instances.
*/
public class ElementPositionMemento extends PositionMemento {
private final Location position;
/**
*
* @param l The current location to be saved.
*/
public ElementPositionMemento(Location l) {
position = new Location(l);
}
public int getX() {
return position.getX();
}
public int getY() {
return position.getY();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy