Refactoring Selenium Actions