示例#1
0
 /// <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
 /// <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
 /// <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);
 }