Is there a way to save a screenshot to memory and then load it into an image control(wpf) without saving it to disk?
Screenshot ss = ((ITakesScreenshot)driver).GetScreenshot();
ss.SaveAsFile(@"C:\hello.bmp", OpenQA.Selenium.ScreenshotImageFormat.Bmp);
Thanks¡¡¡