org.openqa.selenium.server.browserlaunchers
Class SafariCustomProfileLauncher

java.lang.Object
  extended by org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
      extended by org.openqa.selenium.server.browserlaunchers.SafariCustomProfileLauncher
All Implemented Interfaces:
org.openqa.selenium.browserlaunchers.BrowserLauncher
Direct Known Subclasses:
ProxyInjectionSafariCustomProfileLauncher, SafariFileBasedLauncher

public class SafariCustomProfileLauncher
extends AbstractBrowserLauncher


Field Summary
protected  org.openqa.selenium.browserlaunchers.locators.BrowserInstallation browserInstallation
           
protected  String[] cmdarray
           
protected  File customProfileDir
           
protected  org.openqa.selenium.browserlaunchers.MacProxyManager mpm
           
protected  org.openqa.selenium.os.CommandLine process
           
protected  org.openqa.selenium.browserlaunchers.WindowsProxyManager wpm
           
 
Fields inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
browserConfigurationOptions, sessionId
 
Constructor Summary
SafariCustomProfileLauncher(Capabilities browserOptions, RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation)
           
 
Method Summary
protected  void changeRegistrySettings()
           
 void close()
           
protected  void ensureCleanSession()
           
protected  void launch(String url)
           
protected  void launchSafari(String url)
           
protected  org.openqa.selenium.browserlaunchers.locators.BrowserInstallation locateSafari(String browserLaunchLocation)
           
protected  String makeRedirectionHtml(File parentDir, String url)
           
 
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
 

Field Detail

customProfileDir

protected File customProfileDir

cmdarray

protected String[] cmdarray

browserInstallation

protected org.openqa.selenium.browserlaunchers.locators.BrowserInstallation browserInstallation

process

protected org.openqa.selenium.os.CommandLine process

wpm

protected org.openqa.selenium.browserlaunchers.WindowsProxyManager wpm

mpm

protected org.openqa.selenium.browserlaunchers.MacProxyManager mpm
Constructor Detail

SafariCustomProfileLauncher

public SafariCustomProfileLauncher(Capabilities browserOptions,
                                   RemoteControlConfiguration configuration,
                                   String sessionId,
                                   String browserLaunchLocation)
Method Detail

locateSafari

protected org.openqa.selenium.browserlaunchers.locators.BrowserInstallation locateSafari(String browserLaunchLocation)

launch

protected void launch(String url)
Specified by:
launch in class AbstractBrowserLauncher

launchSafari

protected void launchSafari(String url)

close

public void close()

ensureCleanSession

protected void ensureCleanSession()

makeRedirectionHtml

protected String makeRedirectionHtml(File parentDir,
                                     String url)

changeRegistrySettings

protected void changeRegistrySettings()


Copyright © 2012. All Rights Reserved.