I was testing a chat application with Appium. For each message, there is three status
- Server sent
- Received
- Read
How can I check the status in Appium? For each message, the resource id is the same
id/messageStatus. and I need to take screenshots from the receiver side when a new message arrives, How can I add an event listener type thing that will trigger a screenshot when a new message arrives