Add support for storage state and optionally disable taking a screenshot of the page at the end of the capture.