Interface GetScreenshotAsListener<X>

Type Parameters:
X - the type of the screenshot output

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

    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 Details

    • 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:
      outputType - output type
      x - object