Selenium/Ruby/Browser testing/Refactoring 2014