}
LoggingResultsFormatter htmlFormatter = new HtmlResultFormatter(loggingWriter, RESULT_FILE_ENCODING);
htmlFormatter.setScreenShotBaseUri(SCREENSHOT_PATH + "/");
htmlFormatter.setAutomaticScreenshotPath(screenshotsResultsPath);
LoggingCommandProcessor myProcessor = new LoggingCommandProcessor(new HttpCommandProcessor(getClient()
+ "/selenium-server/driver/", browserType, getServer()), htmlFormatter);
return myProcessor;
}