switched to selenium-webdriver for easier modularity