public class SafariCustomProfileLauncher extends AbstractBrowserLauncher
| Modifier and Type | Field and Description |
|---|---|
protected BrowserInstallation |
browserInstallation |
protected String[] |
cmdarray |
protected File |
customProfileDir |
protected static AsyncExecute |
exe |
protected MacProxyManager |
mpm |
protected Process |
process |
protected WindowsProxyManager |
wpm |
browserConfigurationOptions, sessionId| Constructor and Description |
|---|
SafariCustomProfileLauncher(BrowserConfigurationOptions browserOptions,
RemoteControlConfiguration configuration,
String sessionId,
String browserLaunchLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
changeRegistrySettings() |
void |
close()
Stop (kill) the browser process
|
protected void |
ensureCleanSession() |
Process |
getProcess()
Returns a process if there is an associated one running with this browser launcher (this is not required to be implementd).
|
protected void |
launch(String url) |
protected void |
launchSafari(String url) |
protected BrowserInstallation |
locateSafari(String browserLaunchLocation) |
protected String |
makeRedirectionHtml(File parentDir,
String url) |
getConfiguration, getPort, launchHTMLSuite, launchRemoteSessionprotected File customProfileDir
protected String[] cmdarray
protected BrowserInstallation browserInstallation
protected Process process
protected WindowsProxyManager wpm
protected MacProxyManager mpm
protected static AsyncExecute exe
public SafariCustomProfileLauncher(BrowserConfigurationOptions browserOptions, RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation)
protected BrowserInstallation locateSafari(String browserLaunchLocation)
protected void launch(String url)
launch in class AbstractBrowserLauncherprotected void launchSafari(String url) throws IOException
IOExceptionpublic void close()
BrowserLauncherprotected void ensureCleanSession()
public Process getProcess()
BrowserLauncherprotected void changeRegistrySettings()
throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.