org.jbehave.web.selenium
Class PerStoriesWebDriverSteps
java.lang.Object
org.jbehave.web.selenium.WebDriverSteps
org.jbehave.web.selenium.PerStoriesWebDriverSteps
public class PerStoriesWebDriverSteps
- extends WebDriverSteps
Steps implementation that can be used before and after lifecycle in
WebDriver-based stories. It provides annotated methods to initialise
WebDriver before all stories and quit WebDriver after all stories.
NOTE: using this implementation requires the use of a same-thread
ExecutorService
to be configured in the Embedder, e.g. Guava's
MoreExecutors.sameThreadExecutor()
,
- Author:
- Paul Hammant
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerStoriesWebDriverSteps
public PerStoriesWebDriverSteps(WebDriverProvider driverProvider)
beforeStories
public void beforeStories()
throws Exception
- Throws:
Exception
afterStories
public void afterStories()
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.