コード例 #1
0
ファイル: ChromeBrowser.cs プロジェクト: svatarlea/test
 /// <summary>
 /// Static constructor for Lynda.Test.Browsers.ChromeBrowser class.
 /// </summary>
 static ChromeBrowser()
 {
     expectedExePath  = string.Format("{0}{1}", BrowserSystemInfo.LocalAppDataPath, "\\Google\\Chrome\\Application\\chrome.exe");
     installedExePath = BrowserSystemInfo.GetInstalledExePath(expectedExePath);
     installedVersion = BrowserSystemInfo.GetInstalledVersion(expectedExePath);
 }
コード例 #2
0
 /// <summary>
 /// Static constructor for Lynda.Test.Browsers.SafariBrowser class.
 /// </summary>
 static SafariBrowser()
 {
     expectedExePath  = string.Format("{0}{1}", BrowserSystemInfo.ProgramFilesX86Path, "\\Safari\\safari.exe");
     installedExePath = BrowserSystemInfo.GetInstalledExePath(expectedExePath);
     installedVersion = BrowserSystemInfo.GetInstalledVersion(expectedExePath);
 }
コード例 #3
0
ファイル: FirefoxBrowser.cs プロジェクト: svatarlea/test
 /// <summary>
 /// Static constructor for Lynda.Test.Browsers.FirefoxBrowser class.
 /// </summary>
 static FirefoxBrowser()
 {
     expectedExePath  = string.Format("{0}{1}", BrowserSystemInfo.ProgramFilesX86Path, "\\Mozilla Firefox\\firefox.exe");
     installedExePath = BrowserSystemInfo.GetInstalledExePath(expectedExePath);
     installedVersion = BrowserSystemInfo.GetInstalledVersion(expectedExePath);
 }
コード例 #4
0
ファイル: IEBrowser.cs プロジェクト: svatarlea/test
 /// <summary>
 /// Static constructor for Lynda.Test.Browsers.IEBrowser class.
 /// </summary>
 static IEBrowser()
 {
     expectedExePath  = string.Format("{0}{1}", BrowserSystemInfo.ProgramFilesX86Path, "\\Internet Explorer\\iexplore.exe");
     installedExePath = BrowserSystemInfo.GetInstalledExePath(expectedExePath);
     installedVersion = BrowserSystemInfo.GetInstalledVersion(expectedExePath);
 }