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

Solution: Import the 'Select' module

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

from selenium.webdriver.support.ui import Select

 

For more information:
Python selenium Select