I have code, where I find some text:
findmenu = self.driver.find_element_by_xpath(("//span[contains(text(),'Localidad')]"))
To verify the presence of an element on the page.
In some cases, the search took about 10 seconds and then the program told me the text was not found by throwing an exception.