added support for RemoteWebDriver