The environment:Update to the latest version of appium 1.10.
Toast information cannot be recognized by the app.
Record all the elements of the current page ->list. When toast is triggered,toastpush is pushed to the end of the list and the length is +1. Then toast information disappears in the interface.And then the end of the list becomes the index 0 of the page element in the list.
The question is, in a higher version of appium, if the page element is destroyed, the object stored will also be destroyed.Causes previously stored elements to become None during subsequent recognition
Did you have the same problem?