whats is the difference between UIObject and UIObject2 other than UIAutomator 2.0 version name?
I have done some Googling and searched in Android Developer website but I could not able to find a suitable answer. Can anyone help me out for this? thanks in advance. Key Differences: What they represent Waiting for views to exist/finding views Scrolling What they represent In my words, UiObject2 is a direct representation of a real view that exists on the screen and allows you to take actions on that view. UiObject is a representation of how to find an element that may be on the screen, combined with actions that you can take on that view. UiObject as the docs say , represents the method to