org.openqa.selenium.server.browserlaunchers
Class ProxyInjectionSafariCustomProfileLauncher

java.lang.Object
  extended by org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
      extended by org.openqa.selenium.server.browserlaunchers.SafariCustomProfileLauncher
          extended by org.openqa.selenium.server.browserlaunchers.ProxyInjectionSafariCustomProfileLauncher
All Implemented Interfaces:
BrowserLauncher

public class ProxyInjectionSafariCustomProfileLauncher
extends SafariCustomProfileLauncher

launcher for Safari under proxy injection mode In proxy injection mode, the selenium server is a proxy for all traffic from the browser, not just traffic going to selenium-server URLs. The incoming HTML is modified to include selenium's JavaScript, which then controls the test page from within (as opposed to controlling the test page from a different window, as selenium remote control normally does).

Author:
danielf

Field Summary
 
Fields inherited from class org.openqa.selenium.server.browserlaunchers.SafariCustomProfileLauncher
mpm, wpm
 
Fields inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
sessionId
 
Constructor Summary
ProxyInjectionSafariCustomProfileLauncher(int port, java.lang.String sessionId)
           
ProxyInjectionSafariCustomProfileLauncher(int port, java.lang.String sessionId, java.lang.String browserLaunchLocation)
           
 
Method Summary
protected  void changeRegistrySettings()
           
static void setChangeMaxConnections(boolean changeMaxConnections)
           
 
Methods inherited from class org.openqa.selenium.server.browserlaunchers.SafariCustomProfileLauncher
close, getProcess, launch, main, makeRedirectionHtml
 
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
 

Constructor Detail

ProxyInjectionSafariCustomProfileLauncher

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

ProxyInjectionSafariCustomProfileLauncher

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

changeRegistrySettings

protected void changeRegistrySettings()
                               throws java.io.IOException
Overrides:
changeRegistrySettings in class SafariCustomProfileLauncher
Throws:
java.io.IOException

setChangeMaxConnections

public static void setChangeMaxConnections(boolean changeMaxConnections)


Copyright © 2008. All Rights Reserved.