Looking for a quick way to type an enter or return key in Selenium. Unfortunately the form I'm trying to test (not my own code so I can't modify) doesn't have a submit button. When working with it manually, I just type enter or return, and just need to know how to do that with the Selenium "type" command
A:
I know this is old, but I just found a module that will execute keyboard commands that works for on windows. It sends the key as though it were from the keyboard to the active window. http://www.rutherfurd.net/python/sendkeys/
David Tanner
2010-03-18 19:29:06