
ru.yandex.qatools.actions.beans.AbstractMouseOverAction Maven / Gradle / Ivy
The newest version!
package ru.yandex.qatools.actions.beans;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.interactions.Actions;
/**
* @author Pavel Zorin [email protected]
*/
public abstract class AbstractMouseOverAction extends WebElementAction {
@Override
public void perform(WebDriver webDriver) {
new Actions(webDriver).moveToElement(webDriver.findElement(buildBy())).build().perform();
}
@Override
public String toString() {
return String.format("Move cursor to element '%s'", buildBy());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy