I want to capture screenshots by elements in appium similar to the one in selenium. I am using python. Could not find much about this, is there any way to achieve this?
I think you can use the Appium
driver.get_screenshot_as_base64() command described in the documentation: http://appium.io/docs/en/commands/session/screenshot/
Now you should have a screenshot of the full page. You can ask the element its location and crop the screenshot. This is described for Python and Selenium in detail here: https://stackoverflow.com/questions/15018372/how-to-take-partial-screenshot-with-selenium-webdriver-in-python
Although I didnt try it myself I think the cropping should work the same for Appuim based elements and screenshots.