org.openqa.selenium.server.browserlaunchers
Class InternetExplorerCustomProxyLauncher

java.lang.Object
  extended by org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
      extended by org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher
All Implemented Interfaces:
BrowserLauncher
Direct Known Subclasses:
ProxyInjectionInternetExplorerCustomProxyLauncher

public class InternetExplorerCustomProxyLauncher
extends AbstractBrowserLauncher


Field Summary
protected  boolean customPACappropriate
           
protected static java.lang.Class popupMgrType
           
protected static java.lang.String REG_KEY_AUTOCONFIG_URL
           
protected static java.lang.String REG_KEY_AUTOPROXY_RESULT_CACHE
           
protected static java.lang.String REG_KEY_BACKUP_AUTOCONFIG_URL
           
protected static java.lang.String REG_KEY_BACKUP_AUTOPROXY_RESULT_CACHE
           
protected static java.lang.String REG_KEY_BACKUP_MAX_CONNECTIONS_PER_1_0_SVR
           
protected static java.lang.String REG_KEY_BACKUP_MAX_CONNECTIONS_PER_1_1_SVR
           
protected static java.lang.String REG_KEY_BACKUP_MIME_EXCLUSION_LIST_FOR_CACHE
           
protected static java.lang.String REG_KEY_BACKUP_POPUP_MGR
           
protected static java.lang.String REG_KEY_BACKUP_PROXY_ENABLE
           
protected static java.lang.String REG_KEY_BACKUP_PROXY_OVERRIDE
           
protected static java.lang.String REG_KEY_BACKUP_PROXY_SERVER
           
protected static java.lang.String REG_KEY_BACKUP_READY
           
protected static java.lang.String REG_KEY_MAX_CONNECTIONS_PER_1_0_SVR
           
protected static java.lang.String REG_KEY_MAX_CONNECTIONS_PER_1_1_SVR
           
protected static java.lang.String REG_KEY_MIME_EXCLUSION_LIST_FOR_CACHE
           
protected static java.lang.String REG_KEY_POPUP_MGR
           
protected static java.lang.String REG_KEY_PROXY_ENABLE
           
protected static java.lang.String REG_KEY_PROXY_OVERRIDE
           
protected static java.lang.String REG_KEY_PROXY_SERVER
           
protected static java.lang.String REG_KEY_SELENIUM_FOLDER
           
 
Fields inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
sessionId
 
Constructor Summary
InternetExplorerCustomProxyLauncher(int port, java.lang.String sessionId)
           
InternetExplorerCustomProxyLauncher(int port, java.lang.String sessionId, java.lang.String browserLaunchLocation)
           
 
Method Summary
protected  void addRegistryKeyToBackupList(java.lang.String regKey, java.lang.String backupRegKey, java.lang.Class clazz)
           
 void backupRegistrySettings()
           
protected  void changeRegistrySettings()
           
 void close()
          Stop (kill) the browser process
protected static java.lang.String findBrowserLaunchLocation()
           
protected  void handleEvilPopupMgrBackup()
           
protected  void init()
           
protected  void initStatic()
           
protected  boolean isStaticInitDone()
           
 void launch(java.lang.String url)
           
static void main(java.lang.String[] args)
           
 void restoreRegistrySettings()
           
protected  void turnOffPopupBlocking(java.lang.String key)
           
 
Methods inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
launchHTMLSuite, launchRemoteSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REG_KEY_SELENIUM_FOLDER

protected static final java.lang.String REG_KEY_SELENIUM_FOLDER
See Also:
Constant Field Values

REG_KEY_BACKUP_READY

protected static final java.lang.String REG_KEY_BACKUP_READY
See Also:
Constant Field Values

REG_KEY_BACKUP_AUTOCONFIG_URL

protected static final java.lang.String REG_KEY_BACKUP_AUTOCONFIG_URL
See Also:
Constant Field Values

REG_KEY_BACKUP_MAX_CONNECTIONS_PER_1_0_SVR

protected static final java.lang.String REG_KEY_BACKUP_MAX_CONNECTIONS_PER_1_0_SVR
See Also:
Constant Field Values

REG_KEY_BACKUP_MAX_CONNECTIONS_PER_1_1_SVR

protected static final java.lang.String REG_KEY_BACKUP_MAX_CONNECTIONS_PER_1_1_SVR
See Also:
Constant Field Values

REG_KEY_BACKUP_PROXY_ENABLE

protected static final java.lang.String REG_KEY_BACKUP_PROXY_ENABLE
See Also:
Constant Field Values

REG_KEY_BACKUP_PROXY_OVERRIDE

protected static final java.lang.String REG_KEY_BACKUP_PROXY_OVERRIDE
See Also:
Constant Field Values

REG_KEY_BACKUP_PROXY_SERVER

protected static final java.lang.String REG_KEY_BACKUP_PROXY_SERVER
See Also:
Constant Field Values

REG_KEY_BACKUP_AUTOPROXY_RESULT_CACHE

protected static final java.lang.String REG_KEY_BACKUP_AUTOPROXY_RESULT_CACHE
See Also:
Constant Field Values

REG_KEY_BACKUP_POPUP_MGR

protected static final java.lang.String REG_KEY_BACKUP_POPUP_MGR
See Also:
Constant Field Values

REG_KEY_BACKUP_MIME_EXCLUSION_LIST_FOR_CACHE

protected static final java.lang.String REG_KEY_BACKUP_MIME_EXCLUSION_LIST_FOR_CACHE
See Also:
Constant Field Values

REG_KEY_POPUP_MGR

protected static final java.lang.String REG_KEY_POPUP_MGR
See Also:
Constant Field Values

REG_KEY_AUTOCONFIG_URL

protected static final java.lang.String REG_KEY_AUTOCONFIG_URL
See Also:
Constant Field Values

REG_KEY_MAX_CONNECTIONS_PER_1_0_SVR

protected static final java.lang.String REG_KEY_MAX_CONNECTIONS_PER_1_0_SVR
See Also:
Constant Field Values

REG_KEY_MAX_CONNECTIONS_PER_1_1_SVR

protected static final java.lang.String REG_KEY_MAX_CONNECTIONS_PER_1_1_SVR
See Also:
Constant Field Values

REG_KEY_PROXY_ENABLE

protected static final java.lang.String REG_KEY_PROXY_ENABLE
See Also:
Constant Field Values

REG_KEY_PROXY_OVERRIDE

protected static final java.lang.String REG_KEY_PROXY_OVERRIDE
See Also:
Constant Field Values

REG_KEY_PROXY_SERVER

protected static final java.lang.String REG_KEY_PROXY_SERVER
See Also:
Constant Field Values

REG_KEY_AUTOPROXY_RESULT_CACHE

protected static final java.lang.String REG_KEY_AUTOPROXY_RESULT_CACHE
See Also:
Constant Field Values

REG_KEY_MIME_EXCLUSION_LIST_FOR_CACHE

protected static final java.lang.String REG_KEY_MIME_EXCLUSION_LIST_FOR_CACHE
See Also:
Constant Field Values

popupMgrType

protected static java.lang.Class popupMgrType

customPACappropriate

protected boolean customPACappropriate
Constructor Detail

InternetExplorerCustomProxyLauncher

public InternetExplorerCustomProxyLauncher(int port,
                                           java.lang.String sessionId)

InternetExplorerCustomProxyLauncher

public InternetExplorerCustomProxyLauncher(int port,
                                           java.lang.String sessionId,
                                           java.lang.String browserLaunchLocation)
Method Detail

init

protected void init()

isStaticInitDone

protected boolean isStaticInitDone()

initStatic

protected void initStatic()

handleEvilPopupMgrBackup

protected void handleEvilPopupMgrBackup()

turnOffPopupBlocking

protected void turnOffPopupBlocking(java.lang.String key)

addRegistryKeyToBackupList

protected void addRegistryKeyToBackupList(java.lang.String regKey,
                                          java.lang.String backupRegKey,
                                          java.lang.Class clazz)

findBrowserLaunchLocation

protected static java.lang.String findBrowserLaunchLocation()

launch

public void launch(java.lang.String url)
Specified by:
launch in class AbstractBrowserLauncher

changeRegistrySettings

protected void changeRegistrySettings()
                               throws java.io.IOException
Throws:
java.io.IOException

backupRegistrySettings

public void backupRegistrySettings()

restoreRegistrySettings

public void restoreRegistrySettings()

close

public void close()
Description copied from interface: BrowserLauncher
Stop (kill) the browser process


main

public static void main(java.lang.String[] args)


Copyright © 2006 null. All Rights Reserved.