public class WebDriverFeature extends SimpleFeature
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.
|
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
initialize
in class SimpleFeature
Exception
public void configure(FeaturesRunner runner, com.google.inject.Binder binder)
RunnerFeature
configure
in interface RunnerFeature
configure
in class SimpleFeature
public void stop(FeaturesRunner runner) throws Exception
RunnerFeature
stop
in interface RunnerFeature
stop
in class SimpleFeature
Exception
Copyright © 2017 Nuxeo. All rights reserved.