Package: geb.report

## [Groovy] Class ScreenshotReporter

- geb.report.ScreenshotReporter

- Writes the source of the browser's current page as html and takes a PNG screenshot if the underlying driver implementation supports it.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `protected static TakesScreenshot` | `determineScreenshotDriver(Browser browser)`
    `protected File` | `saveScreenshotPngBytes(File outputDir, String label, byte[] bytes)`
    `void` | `writeReport(ReportState reportState)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class ReporterSupport` | `addListener, escapeFileName, getFile, notifyListeners, toTestReportLabel`
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Method Detail

    - #### protected static TakesScreenshot determineScreenshotDriver(Browser browser)

    - #### protected File saveScreenshotPngBytes(File outputDir, String label, byte[] bytes)

    - #### void writeReport(ReportState reportState)