I want to notify my test as failed when the App is crashed.
How to detect if the app is crashed? [because it can happen @random times @ random places]
So that the capture screenshot can be called and sent in test reports.
Right now the test just fails because it doesn’t find the appropriate element on page due to App crash [‘Unfortunately stopped’ popup in Android] , but that can happen due to some other reason too.
Does Appium runs a listener or something which tracks if the app is crashed.