org.openqa.selenium.server.browserlaunchers
Class CustomBrowserLauncher
java.lang.Object
org.openqa.selenium.server.browserlaunchers.AbstractBrowserLauncher
org.openqa.selenium.server.browserlaunchers.CustomBrowserLauncher
- All Implemented Interfaces:
- BrowserLauncher
public class CustomBrowserLauncher
- extends AbstractBrowserLauncher
Runs the specified command path to start the browser, and kills the process to quit.
- Version:
- $Revision: 189 $
- Author:
- Paul Hammant
Method Summary |
void |
close()
Kills the process |
protected void |
exec(java.lang.String command)
|
java.lang.Process |
getProcess()
|
protected void |
launch(java.lang.String url)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
process
protected CommandLine process
commandPath
protected java.lang.String commandPath
CustomBrowserLauncher
public CustomBrowserLauncher(java.lang.String commandPath,
java.lang.String sessionId,
RemoteControlConfiguration configuration,
Capabilities browserOptions)
- Specifies a command path to run
close
public void close()
- Kills the process
getProcess
public java.lang.Process getProcess()
launch
protected void launch(java.lang.String url)
- Specified by:
launch
in class AbstractBrowserLauncher
exec
protected void exec(java.lang.String command)
Copyright © 2011. All Rights Reserved.