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:
- org.openqa.selenium.browserlaunchers.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
process
protected org.openqa.selenium.os.CommandLine process
commandPath
protected String commandPath
CustomBrowserLauncher
public CustomBrowserLauncher(String commandPath,
String sessionId,
RemoteControlConfiguration configuration,
Capabilities browserOptions)
- Specifies a command path to run
close
public void close()
- Kills the process
launch
protected void launch(String url)
- Specified by:
launch
in class AbstractBrowserLauncher
exec
protected void exec(String command)
Copyright © 2012. All Rights Reserved.