简体   繁体   中英

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

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.

Did you try driver.get_screenshot_as_base64() ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM