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

org.seleniumhq.selenium.fluent.FluentWebDriverExecutor Maven / Gradle / Ivy

package org.seleniumhq.selenium.fluent;

public interface FluentWebDriverExecutor {

    Object playback(FluentWebDriver driver, FluentWebDriverExecution execution);

    public static interface FluentWebDriverExecution {
        /**
         * Don't catch exceptions in implementations of this.
         * @param driver the FluentWebDriver to operate on
         * @return The resulting FluentWebElement, FluentWebElements or similar.
         */
        Object execute(FluentWebDriver driver);
    }

    public static class Default implements FluentWebDriverExecutor {
        public Object playback(FluentWebDriver driver, FluentWebDriverExecution execution) {
            return execution.execute(driver);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy