// iexplore, opera, safari. For some not-supported-yet browsers, we
// use
// legacy methods: Going through the RC server.
String selBrowserIdentifierString = "*" + Config.inst().BROWSER;
selenium = new DefaultSelenium("localhost", 4444, selBrowserIdentifierString, Config.inst().TEAMMATES_URL);
CommandExecutor executor = new SeleneseCommandExecutor(selenium);
DesiredCapabilities dc = new DesiredCapabilities();
driver = new RemoteWebDriver(executor, dc);
}