disregards white spaces when searching for an element containing a text