SeleniumRC--- BrowserLauncherFactory.java

上一篇 / 下一篇  2009-10-08 21:58:55

2334
 
2350
 
2350
 
BrowserLauncherFactory.java
_>4545     private static final Map<String, Class<? extends BrowserLauncher>> supportedBrowsers = new HashMap<String, Class<? extends BrowserLauncher>>();
 4646 
 4747     static {
<>48 -        supportedBrowsers.put("firefox", FirefoxCustomProfileLauncher.class);
  48+        supportedBrowsers.put("firefoxproxy", FirefoxCustomProfileLauncher.class);
  49+        supportedBrowsers.put("firefox", FirefoxChromeLauncher.class);

4950         supportedBrowsers.put("chrome", FirefoxChromeLauncher.class);
 5051         supportedBrowsers.put("firefox2", Firefox2Launcher.class);
 5152         supportedBrowsers.put("firefox3", Firefox3Launcher.class);
<>52 -        supportedBrowsers.put("iexplore", InternetExplorerCustomProxyLauncher.class);
  53+        supportedBrowsers.put("iexploreproxy", InternetExplorerCustomProxyLauncher.class);

5354         supportedBrowsers.put("safari", SafariFileBasedLauncher.class);
<> 55+        supportedBrowsers.put("safariproxy", SafariCustomProfileLauncher.class);

5456         supportedBrowsers.put("iehta", HTABrowserLauncher.class);
<> 57+        supportedBrowsers.put("iexplore", HTABrowserLauncher.class);
<_5558         supportedBrowsers.put("opera", OperaCustomProfileLauncher.class);
 5659         supportedBrowsers.put("piiexplore", ProxyInjectionInternetExplorerCustomProxyLauncher.class);
 5760         supportedBrowsers.put("pifirefox", ProxyInjectionFirefoxCustomProfileLauncher.class);

TAG:

 

评分:0

我来说两句

Open Toolbar