Python Selenium Function Keyboard