Is it possible to take a screenshot using Selenium WebDriver?
(Note: Not Selenium Remote Control)
public static void ClickButton() { try { // code } catch (Exception e) { TestReport.Setup(ReportLevel.Debug, "myReport.rxlog", true); Report.Screenshot(); throw (e); } }