Interface CustomScreenshotWriter
-
public interface CustomScreenshotWriterImplement 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. Implementation of this interface should capture screenshot and write them into a unique file inside screenshots directory. Use "gauge_screenshots_dir" env to get screenshot directory path"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringtakeScreenshot()
-
-
-
Method Detail
-
takeScreenshot
String takeScreenshot()
- Returns:
- Name of the screenshot file taken.
-
-