Misc changes to WebDriver.