Created
August 13, 2017 14:17
-
-
Save angelovstanton/8f70943f31dff360a16c81fd4f450d19 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
var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10)); | |
var fullPageImg = wait.Until(ExpectedConditions.ElementExists(By.Id("fullPageScreenshotId"))); | |
var pngContent = fullPageImg.GetAttribute("src"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment