1👍
✅
Try this:
from selenium.webdriver.support.ui import WebDriverWait
WebDriverWait(self.browser, 10).until(lambda browser: self.browser.find_element_by_xpath('//li/a[contains(text(), "About")]'))
Source:stackexchange.com