updates to reflect latest webdriver api