How to take screenshot in Appium? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to take screenshot in Appium? ...

How to take screenshot in Appium?



srcFile=element.getScreenshotAs(OutputType.FILE);
Description When working in an appium automation project, we often need to take a screenshot on test failure. Appium provides a way to take screenshot with the help of getScreenshotAs() interface

Leave a Reply

Your email address will not be published. Required fields are marked *