public FirefoxProfile() { // find it! FirefoxProfileInfo profile = FirefoxProfileInfo.FindPrimaryProfile(); if (profile == null) throw new Exception("Could not find a Firefox profile"); ProfilePath = profile.AbsolutePath; } #endregion