Categories

Dec 9, 2019 in Testing
Q: How to take screenshots in Selenium WebDriver?

1 Answer

Dec 9, 2019
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);
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Aug 22, 2019 in Selenium
Aug 22, 2019 in Selenium
Aug 22, 2019 in Selenium
...