Python Selenium Close Window Keyboard