class PageSourceReporter extends ReporterSupport
Writes the source content of the browser's current page as a html file.
Modifiers | Name | Description |
---|---|---|
static Object |
NO_PAGE_SOURCE_SUBSTITUTE |
Constructor and description |
---|
PageSourceReporter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected Object |
getPageSource(Browser browser) |
|
protected Object |
getPageSourceFileExtension(Browser browser) Here to allow smarter calculation of the extension if necessary |
|
protected Object |
getReportFile(ReportState reportState) |
|
protected Object |
writePageSource(File file, Browser browser) |
|
void |
writeReport(ReportState reportState) |
Methods inherited from class | Name |
---|---|
class ReporterSupport |
addListener, escapeFileName, getFile, notifyListeners, toTestReportLabel |
Here to allow smarter calculation of the extension if necessary
Groovy API Documentation for Geb 6.0 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org