in Testing by
Q:
How to take screenshots in Selenium WebDriver?

▼ Show 1 Answer

0 votes
by
By using the TakeScreenshot function you can take a screenshot. With the help of getScreenshotAs() method, you can simply save that screenshot. Example: File scrFile = ((TakeScreenshot)driver).getScreenshotAs(outputType.FILE);
Learn More with Madanswer

Related questions

0 votes
asked Mar 30 in Selenium by sharadyadav1986
...