Package: geb.report

## [Groovy] Class PageSourceReporter

- geb.report.PageSourceReporter

- Writes the source content of the browser's current page as a html file.

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static def` | `NO_PAGE_SOURCE_SUBSTITUTE` |

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected def` | `getPageSource(Browser browser)`
    `` | `protected def` | `getPageSourceFileExtension(Browser browser)` Here to allow smarter calculation of the extension if necessary
    `` | `protected def` | `getReportFile(ReportState reportState)`
    `` | `protected def` | `writePageSource(File file, Browser browser)`
    `` | `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`

- - ### Field Detail

    - #### public static final def NO_PAGE_SOURCE_SUBSTITUTE

  - ### Method Detail

    - #### protected def getPageSource(Browser browser)

    - #### @SuppressWarnings("UnusedMethodParameter") protected def getPageSourceFileExtension(Browser browser)

      Here to allow smarter calculation of the extension if necessary

    - #### protected def getReportFile(ReportState reportState)

    - #### protected def writePageSource(File file, Browser browser)

    - #### @Override void writeReport(ReportState reportState)