SeleniumRC--- BrowserLauncherFactory.java
上一篇 /
下一篇 2009-10-08 21:58:55
2334
2350
2350
BrowserLauncherFactory.java
| 45 | 45 | | private static final Map<String, Class<? extends BrowserLauncher>> supportedBrowsers = new HashMap<String, Class<? extends BrowserLauncher>>(); |
| 46 | 46 | |
|
| 47 | 47 | | static { |
| 48 | | - | supportedBrowsers.put("firefox", FirefoxCustomProfileLauncher.class); |
| | 48 | + | supportedBrowsers.put("firefoxproxy", FirefoxCustomProfileLauncher.class); |
| | 49 | + | supportedBrowsers.put("firefox", FirefoxChromeLauncher.class); |
| 49 | 50 | | supportedBrowsers.put("chrome", FirefoxChromeLauncher.class); |
| 50 | 51 | | supportedBrowsers.put("firefox2", Firefox2Launcher.class); |
| 51 | 52 | | supportedBrowsers.put("firefox3", Firefox3Launcher.class); |
| 52 | | - | supportedBrowsers.put("iexplore", InternetExplorerCustomProxyLauncher.class); |
| | 53 | + | supportedBrowsers.put("iexploreproxy", InternetExplorerCustomProxyLauncher.class); |
| 53 | 54 | | supportedBrowsers.put("safari", SafariFileBasedLauncher.class); |
| | 55 | + | supportedBrowsers.put("safariproxy", SafariCustomProfileLauncher.class); |
| 54 | 56 | | supportedBrowsers.put("iehta", HTABrowserLauncher.class); |
| | 57 | + | supportedBrowsers.put("iexplore", HTABrowserLauncher.class); |
| 55 | 58 | | supportedBrowsers.put("opera", OperaCustomProfileLauncher.class); |
| 56 | 59 | | supportedBrowsers.put("piiexplore", ProxyInjectionInternetExplorerCustomProxyLauncher.class); |
| 57 | 60 | | supportedBrowsers.put("pifirefox", ProxyInjectionFirefoxCustomProfileLauncher.class); |
收藏
举报
TAG: