Interface ICustomScreenshotGrabber


@Deprecated public interface ICustomScreenshotGrabber
Deprecated.
Implement this interface to take Custom Screenshots on Failure. It overrides the default screenshot taking mechanism. The captured screenshots can be seen on the reports on failure. If multiple implementations are found, one will be picked randomly to capture screenshots.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Deprecated.
     
  • Method Details

    • takeScreenshot

      byte[] takeScreenshot()
      Deprecated.
      Returns:
      Byte array of the screenshot taken. Return an empty Byte array if unable to capture screen.