Added webdriver functional tests.