captureScreenshot ()
(Molybdenum-only)
Captures an image of the whole browser content in the currently selected window.
Image will immediately be saved in temp directory.
If a report is generated to the user defined test report directory after testrun,
image will be stored there as well.
The default Molybdenum HTML report will then link the image from this command
in the associated testcase so that user can access it conveniently
directly from the test results.
Note:
Image capturing DOES NOT WORK FOR NON-HTML CONENT right now. Image might show
as white page then.
@since 0.7.0