Writes the source content of the browser's current page as a html file.
Modifiers | Name | Description |
---|---|---|
static def |
NO_PAGE_SOURCE_SUBSTITUTE |
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) |
Methods inherited from class | Name |
---|---|
class ReporterSupport |
addListener, escapeFileName, getFile, notifyListeners, toTestReportLabel |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Here to allow smarter calculation of the extension if necessary
Groovy API Documentation for Geb 3.4.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org