How to take the screenshot from UIAutomator instead of chromedriver? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to take the screenshot from UIAutomator ...

How to take the screenshot from UIAutomator instead of chromedriver?



How to take the screenshot from UIAutomator instead of chromedriver?
This might be of use to you if you are interetsed to see whole picture of device.
What you get with chromedriver screenshot is only webpage screenshot.

Add this capability: capabilities.setCapability("nativeWebScreenshot", true);

Leave a Reply

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