Appium - Getting Error while taking screenshot with uiautomatorviewer for Instagram story like feature in my app

370 Views Asked by At

I am automating an app which has Instagram story or WhatsApp status like feature where user upload content and when I am trying to take screenshot I am getting below error.

Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!

I assume content in UI is getting changed too quickly, tool is not able to capture it, can anyone help me capturing screenshot for this page. Note - Appium server is not running.

1

There are 1 best solutions below

3
Nithin Mohan On

Did you try driver.get_screenshot_as_base64() ?