"The specified path to the browser executable is invalid.");
}
this.browserInstallation = browserInstallation;
// don't set the library path on Snow Leopard
Platform platform = Platform.getCurrent();
if (!platform.is(Platform.MAC) || ((platform.is(Platform.MAC)) && platform.getMajorVersion() <= 10 && platform.getMinorVersion() <= 5)) {
shell.setLibraryPath(browserInstallation.libraryPath());
}
// Set MOZ_NO_REMOTE in order to ensure we always get a new Firefox process
// http://blog.dojotoolkit.org/2005/12/01/running-multiple-versions-of-firefox-side-by-side
shell.setEnvironmentVariable("MOZ_NO_REMOTE", "1");