public class WebDriverFeature extends Object implements RunnerFeature
Modifier and Type | Field and Description |
---|---|
protected Browser |
browser |
protected Configuration |
config |
protected Class<? extends WebPage> |
home |
protected HomePage |
homepage |
Constructor and Description |
---|
WebDriverFeature() |
Modifier and Type | Method and Description |
---|---|
void |
configure(FeaturesRunner runner,
com.google.inject.Binder binder)
Configures Guice bindings if any is required by the feature.
|
void |
initialize(FeaturesRunner runner)
Called when preparing to run the test class.
|
void |
stop(FeaturesRunner runner)
Before exiting the test.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterMethodRun, afterRun, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, start, testCreated
protected Configuration config
public WebDriverFeature()
public void initialize(FeaturesRunner runner) throws Exception
RunnerFeature
initialize
in interface RunnerFeature
Exception
public void configure(FeaturesRunner runner, com.google.inject.Binder binder)
RunnerFeature
configure
in interface RunnerFeature
public void stop(FeaturesRunner runner)
RunnerFeature
stop
in interface RunnerFeature
Copyright © 2018 Nuxeo. All rights reserved.