Interface GetScreenshotAsListener<X>


  • public interface GetScreenshotAsListener<X>
    Listen to ScreenshotAs
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void on​(org.openqa.selenium.OutputType<X> outputType)
      Called before or after ScreenshotAs event.
      void on​(org.openqa.selenium.OutputType<X> outputType, X x)
      Called before or after ScreenshotAs event.
    • Method Detail

      • on

        void on​(org.openqa.selenium.OutputType<X> outputType)
        Called before or after ScreenshotAs event.
        Parameters:
        outputType - output type
      • on

        void on​(org.openqa.selenium.OutputType<X> outputType,
                X x)
        Called before or after ScreenshotAs event.
        Parameters:
        x - object
        outputType - output type