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
browserInstallation, cmdarray, customProfileDir, mpm, process, wpm
 
Fields inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
browserConfigurationOptions, sessionId
 
Constructor Summary
ProxyInjectionSafariCustomProfileLauncher(Capabilities browserOptions, RemoteControlConfiguration configuration, 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, ensureCleanSession, launch, launchSafari, locateSafari, makeRedirectionHtml
 
Methods inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
getCommandLineFlags, getCommandLineFlagsAsArray, getConfiguration, getPort, getTimeout, 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(Capabilities browserOptions,
                                                 RemoteControlConfiguration configuration,
                                                 java.lang.String sessionId,
                                                 java.lang.String browserLaunchLocation)
Method Detail

changeRegistrySettings

protected void changeRegistrySettings()
Overrides:
changeRegistrySettings in class SafariCustomProfileLauncher

setChangeMaxConnections

public static void setChangeMaxConnections(boolean changeMaxConnections)


Copyright © 2012. All Rights Reserved.