Template to webdriver page object pattern