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

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

There is a newer version: 0.2.0
Show newest version
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 SafariActions extends DefaultActions {

    public SafariActions(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