org.openqa.selenium.server.browserlaunchers
Class OperaCustomProfileLauncher

java.lang.Object
  extended by org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
      extended by org.openqa.selenium.server.browserlaunchers.OperaCustomProfileLauncher
All Implemented Interfaces:
BrowserLauncher

public class OperaCustomProfileLauncher
extends AbstractBrowserLauncher


Field Summary
 
Fields inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
browserConfigurationOptions, sessionId
 
Constructor Summary
OperaCustomProfileLauncher(BrowserConfigurationOptions browserOptions, RemoteControlConfiguration configuration, java.lang.String sessionId, java.lang.String browserLaunchLocation)
           
 
Method Summary
 void close()
          Stop (kill) the browser process
protected  java.lang.String findBrowserLaunchLocation()
           
 java.lang.String getCommandPath()
           
 java.lang.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(java.lang.String url)
           
protected  java.io.File locateBinaryInPath(java.lang.String commandPath)
           
static void main(java.lang.String[] args)
           
static void setAdditionalSettings(java.lang.String additionalSettings)
           
 void setCommandPath(java.lang.String commandPath)
           
 
Methods inherited from class org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
getCommandLineFlags, 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

OperaCustomProfileLauncher

public OperaCustomProfileLauncher(BrowserConfigurationOptions browserOptions,
                                  RemoteControlConfiguration configuration,
                                  java.lang.String sessionId,
                                  java.lang.String browserLaunchLocation)
Method Detail

locateBinaryInPath

protected java.io.File locateBinaryInPath(java.lang.String commandPath)

setAdditionalSettings

public static void setAdditionalSettings(java.lang.String additionalSettings)

findBrowserLaunchLocation

protected java.lang.String findBrowserLaunchLocation()

launch

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

close

public void close()
Description copied from interface: BrowserLauncher
Stop (kill) the browser process


getProcess

public java.lang.Process getProcess()
Description copied from interface: BrowserLauncher
Returns a process if there is an associated one running with this browser launcher (this is not required to be implementd).

Returns:
a handle to a process if one is available, or null if one is not available or if no browser is running

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getCommandPath

public java.lang.String getCommandPath()

setCommandPath

public void setCommandPath(java.lang.String commandPath)


Copyright © 2011. All Rights Reserved.