public class BrowserManager
extends org.junit.rules.ExternalResource
It is recommended NOT to have tests explicitly close their browsers,
otherwise some other rules may be prevented from doing their job, e.g.
HtmlReporter
.
Modifier and Type | Field and Description |
---|---|
static boolean |
KEEP_BROWSERS_OPEN_ON_EXIT |
protected static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
BrowserManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
after() |
void |
registerBrowser(Browser browser) |
void |
registerBrowsers(Browser... browsers) |
public static final boolean KEEP_BROWSERS_OPEN_ON_EXIT
Config.getKeepBrowsersOpen()
protected static final org.apache.log4j.Logger logger
Copyright © 2015. All rights reserved.