[Fixed]-NoSuchElementException, django, selenium web driver

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")]'))

Leave a comment