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()?