Search code examples
androidscreenshot

How can I generate screenshots via script?


Is it possible to generate Screenshots for Android via a script?

The problem is: I have an app with 8 languages and I need to create new localized screenshots. Is there a tool to run it once for one language and then to regenerate the ecreenshots for the other languages?


Solution

  • You can use fastlane to generate the screenshot using espresso test.

    https://docs.fastlane.tools/getting-started/android/screenshots/

    enter image description here