TakeScreenshot now accepts optional Exception argument. Useful information that could be recorded in the screenshot.