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

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

package org.fluentlenium.core.events;

import org.openqa.selenium.OutputType;

/**
 * Listen to ScreenshotAs.
 *
 * @param  the type of the screenshot output
 */
public interface GetScreenshotAsListener {
    /**
     * Called before or after ScreenshotAs event.
     *
     * @param outputType output type
     */
    void on(OutputType outputType); // NOPMD ShortMethodName

    /**
     * Called before or after ScreenshotAs event.
     *
     * @param x          object
     * @param outputType output type
     */
    void on(OutputType outputType, X x); // NOPMD ShortMethodName
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy