net.serenitybdd.screenplay.actions.ScrollToWebElement Maven / Gradle / Ivy
package net.serenitybdd.screenplay.actions;
import net.serenitybdd.screenplay.Actor;
import org.openqa.selenium.WebElement;
public class ScrollToWebElement extends ScrollTo{
private final WebElement element;
public ScrollToWebElement(WebElement element) {
this.element = element;
}
public void performAs(T actor) {
performScrollTo(actor, element);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy