Access Keys:
Skip to content (Access Key - 0)
Log in (Access Key - 5)



Toggle Sidebar

captureScreenshot-action-moly

API Doc

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

If required the maximum width and height of the screenshot taken can be configured via Edit -> Preferences -> Screenshot.

last edited on Apr 19, 2009 22:18
Adaptavist Theme Builder Powered by Atlassian Confluence