Python Selenium Handling Browser Interactions Checker