Groovy Documentation

geb.report
[Groovy] Interface Reporter


interface Reporter

A reporter can take a snapshot of the browser state, using a given name as the base for whatever it produces. A common usage of a reporter is to take snapshots before and after test methods.

See Also:
ReporterSupport
ScreenshotAndPageSourceReporter


Method Summary
void writeReport(Browser browser, String label, File outputDir)

Takes a snapshot of the given browser's state, using the given name as the base name for anything (e.g. file) that is produced.

 

Method Detail

writeReport

void writeReport(Browser browser, String label, File outputDir)
Takes a snapshot of the given browser's state, using the given name as the base name for anything (e.g. file) that is produced.


 

Groovy API Documentation for geb-core 0.6.2 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org