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, testCreatedprotected Configuration config
public WebDriverFeature()
public void initialize(FeaturesRunner runner) throws Exception
RunnerFeatureinitialize in interface RunnerFeatureinitialize in class SimpleFeatureExceptionpublic void configure(FeaturesRunner runner, com.google.inject.Binder binder)
RunnerFeatureconfigure in interface RunnerFeatureconfigure in class SimpleFeaturepublic void stop(FeaturesRunner runner) throws Exception
RunnerFeaturestop in interface RunnerFeaturestop in class SimpleFeatureExceptionCopyright © 2017 Nuxeo. All rights reserved.