Created
October 14, 2013 21:01
-
-
Save FriendlyTester/6982149 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Screenshot ss = ((ITakesScreenshot)webDriver).GetScreenshot(); | |
string screenshot = ss.AsBase64EncodedString; | |
byte[] screenshotAsByteArray = ss.AsByteArray; | |
ss.SaveAsFile(@"C:\Temp", System.Drawing.Imaging.ImageFormat.Jpeg); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment