How to Solve NameError: name 'Keys' is not defined -- selenum

Solution: Import the 'Keys' module

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

from selenum.webdriver.common.keys import Keys

 

For more information:
Python selenum Keys