Writes the source of the browser's current page as html and takes a PNG screenshot if the underlying driver implementation supports it.
Type Params | Return Type | Name and description |
---|---|---|
|
protected static TakesScreenshot |
determineScreenshotDriver(Browser browser) |
|
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 |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Groovy API Documentation for Geb 3.4.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org