Selenium/Ruby/Browser testing/Architecture