-
Notifications
You must be signed in to change notification settings - Fork 7
BrowserModule::Screenshots
jfinkhaeuser edited this page Dec 17, 2014
·
1 revision
Wraps Watir's ability to take screenshots of a browser window, by providing a standard scheme for naming the screenshots.
The function for taking screenshots is named take_screenshot
.
In addition to taking the screenshot, the annotation module is used to store the screenshot file name in the test report.
The module is influenced by the following configuration options:
-
screenshot_dir
- the directory in which screenshots are saved. -
screenshot_scheme
- the naming scheme for the screenshot files. Currently supported areold
andnew
, but both the configuration option and the old naming scheme will be phased out soon. Suffice to say that both schemes include the scenario name in filesystem safe form and a timestamp.