Selenium Testing Using Python Dictionaries