private static File getBrowserPathFromConf(String browser) throws Exception
{
String browserPath = null;
File runnerConfPath = getTestRunnerConfig();
TestRunnerConfiguration runnerConf = TestRunnerConfiguration.getConfiguration(runnerConfPath, null);
Map<String, String> browserPaths = runnerConf.getBrowserPathsForOS();
if (!browserPaths.containsKey(browser))
{
throw new Exception("No config specified for browser " + browser + " in configuration file '" + runnerConfPath.getPath() + "'");
}