Extend Driver class to support RemoteWebDriver and some additional changes