I have a button object with Name: resource-id Condition: equals Value: "com.app.android:id/closeBtn". It is the only method used for detecting the object and the script works. But, when I change the Condition type to Contains and the Value to closeBtn - the object is not identified anymore. Same happens when I change the Condition to Ends With. Any help will be highly appreciated!