I want to click on the cross (x) button which is a part of a search edit text view (search text field). The button doesn't have any resource Id or element. I tried the following ways to interact:
- click at the end of the search field by coordinates - this isn't a valid way because it doesn't work on different devices;
- click on elements behind the button - also not a valid way. And for some reason doesn't work for now.
(image taken from here)