Whatever you search, it has to be expressed so that the result is unique.
You can search for a specific piece of text.
Images can be found using their alt-text.
In case all else fails, use data-uitesteri -attribute.
Various kinds of form fields can be controlled.