|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
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.
| Method Summary | |
|---|---|
void
|
addListener(ReportingListener listener)
Registers an object to be notified when a report is taken. |
void
|
writeReport(ReportState reportState)
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 |
|---|
void addListener(ReportingListener listener)
void writeReport(ReportState reportState)
Groovy API Documentation for Geb 0.9.0-RC-3 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org