public class ProxyInjectionSafariCustomProfileLauncher extends SafariCustomProfileLauncher
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).
browserInstallation, cmdarray, customProfileDir, mpm, process, wpm
browserConfigurationOptions, sessionId
Constructor and Description |
---|
ProxyInjectionSafariCustomProfileLauncher(org.openqa.selenium.Capabilities browserOptions,
RemoteControlConfiguration configuration,
String sessionId,
String browserLaunchLocation) |
Modifier and Type | Method and Description |
---|---|
protected void |
changeRegistrySettings() |
static void |
setChangeMaxConnections(boolean changeMaxConnections) |
close, ensureCleanSession, launch, launchSafari, locateSafari, makeRedirectionHtml
getCommandLineFlagsAsArray, getConfiguration, getPort, getTimeout, launchHTMLSuite, launchRemoteSession
public ProxyInjectionSafariCustomProfileLauncher(org.openqa.selenium.Capabilities browserOptions, RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation)
protected void changeRegistrySettings()
changeRegistrySettings
in class SafariCustomProfileLauncher
public static void setChangeMaxConnections(boolean changeMaxConnections)
Copyright © 2015. All rights reserved.