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
}