I have a GitHub action that runs e2e tests with Appium for my iOS and Android app.
When it fails in the CI to found a selected element, and not locally, I have no idea why it fails.
How can I make a screenshot before closing the device ?
Our project is in TS similar to https://github.com/webdriverio/appium-boilerplate/