Python Selenium Handling Keyboard Actions