All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.magentys.cinnamon.webdriver.actions.SyntheticActions Maven / Gradle / Ivy

package io.magentys.cinnamon.webdriver.actions;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;

import static io.magentys.cinnamon.webdriver.actions.synthetic.SyntheticDoubleClickAction.syntheticDoubleClickAction;
import static io.magentys.cinnamon.webdriver.actions.synthetic.SyntheticHoverAction.syntheticHoverAction;

class SyntheticActions extends DefaultActions {

    public SyntheticActions(final WebDriver webDriver) {
        super(webDriver);
    }

    @Override
    public void hoverOver(final WebElement target) {
        syntheticHoverAction(webDriver).perform(target);
    }

    @Override
    public void doubleClick(final WebElement target) {
        syntheticDoubleClickAction(webDriver).perform(target);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy