LoggingResultsFormatter htmlFormatter =
newHtmlResultFormatter(loggingWriter,resultEncoding);
htmlFormatter.setScreenShotBaseUri("/");// this is for linking to the screenshots
htmlFormatter.setAutomaticScreenshotPath(errorLog);
// wrap HttpCommandProcessor from remote-control
LoggingCommandProcessor myProcessor =
newLoggingCommandProcessor(newHttpCommandProcessor("localhost", 4444,"*iexplore",url), htmlFormatter);
selenium=newLoggingDefaultSelenium(myProcessor);
selenium.start();
}