How to Solve NameError: name 'WebDriverWait' is not defined -- selenium

Solution: Import the 'WebDriverWait' module

To Solve the error, add the following line to the top of your code.

from selenium.webdriver.support.ui import WebDriverWait

 

For more information:
Python selenium WebDriverWait