public abstract class AbstractBrowser extends Object implements Browser
| Constructor and Description |
|---|
AbstractBrowser(DriverConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendScriptTag(StringBuilder builder,
String script) |
protected ProcessBuilder |
buildProcess(org.openqa.selenium.browserlaunchers.locators.BrowserLocator locator,
String binPropertyName,
String url) |
TestResult |
buildResult(Map<String,String> queryStringParameters,
com.sun.net.httpserver.HttpExchange exchange)
Reads the result of the last unit test from the specified HTTP request.
|
DriverConfiguration |
getConfig() |
protected boolean |
isRunningOnWindows() |
protected static Set<Class<? extends AsyncProcess>> |
processSet(Class<? extends AsyncProcess>... clazz) |
protected void |
sendResponse(String content,
com.sun.net.httpserver.HttpExchange exchange) |
protected void |
startProcess(org.openqa.selenium.browserlaunchers.locators.BrowserLocator locator,
String binPropertyName,
String url) |
protected Process |
startProcess(ProcessBuilder builder) |
void |
stop()
Stops this browsers and performs cleanup operations, if any.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteTest, getSharedDependencies, notifyNoMoreTests, startpublic AbstractBrowser(DriverConfiguration config)
protected void startProcess(org.openqa.selenium.browserlaunchers.locators.BrowserLocator locator,
String binPropertyName,
String url)
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected Process startProcess(ProcessBuilder builder) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected ProcessBuilder buildProcess(org.openqa.selenium.browserlaunchers.locators.BrowserLocator locator, String binPropertyName, String url)
public DriverConfiguration getConfig()
protected boolean isRunningOnWindows()
protected void appendScriptTag(StringBuilder builder, String script) throws IOException
IOExceptionprotected void sendResponse(String content, com.sun.net.httpserver.HttpExchange exchange) throws IOException
IOExceptionpublic TestResult buildResult(Map<String,String> queryStringParameters, com.sun.net.httpserver.HttpExchange exchange)
public void stop()
Browserstop in interface AsyncProcessstop in interface Browserprotected static Set<Class<? extends AsyncProcess>> processSet(Class<? extends AsyncProcess>... clazz)
Copyright © 2015. All Rights Reserved.