Take a screenshot of the widget for displaying in a html report.
The MANTID_SCREENSHOT_REPORT environment variable must be set to the destination folder. Screenshot taking is skipped otherwise.