class ScreenshotReporter extends ReporterSupport
Writes the source of the browser's current page as html and takes a PNG screenshot if the underlying driver implementation supports it.
Constructor and description |
---|
ScreenshotReporter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected File |
saveScreenshotPngBytes(File outputDir, String label, byte[] bytes) |
|
void |
writeReport(ReportState reportState) |
Methods inherited from class | Name |
---|---|
class ReporterSupport |
addListener, escapeFileName, getFile, notifyListeners, toTestReportLabel |
Groovy API Documentation for Geb 6.0 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org