Python Selenium Function Key Settings