added browser.getTemplate() method