Added support of screenshots on non-critical WebDriverException