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, launchRemoteSession
protected 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 AbstractBrowserLauncher
protected void launchSafari(String url) throws IOException
IOException
public void close()
BrowserLauncher
protected void ensureCleanSession()
public Process getProcess()
BrowserLauncher
protected void changeRegistrySettings() throws IOException
IOException
Copyright © 2012. All Rights Reserved.