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

org.fluentlenium.core.events.NavigateAllListener Maven / Gradle / Ivy

package org.fluentlenium.core.events;

import org.openqa.selenium.WebDriver;

/**
 * Listener interface for Navigate events
 */
public interface NavigateAllListener {

    /**
     * Direction of the navigation
     */
    enum Direction {
        BACK, FORWARD, REFRESH
    }

    /**
     * Invoked when a navigation is performed
     *
     * @param url       destination url
     * @param driver    selenium driver
     * @param direction direction of the navigation
     */
    void on(String url, WebDriver driver, Direction direction);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy