org.jbehave.web.selenium
Class PerScenarioWebDriverSteps
java.lang.Object
org.jbehave.web.selenium.WebDriverSteps
org.jbehave.web.selenium.PerScenarioWebDriverSteps
public class PerScenarioWebDriverSteps
- extends WebDriverSteps
Steps implementation that can be used before and after lifecycle in
WebDriver-based stories. It provides annotated methods to initialise
WebDriver before each scenario and quit WebDriver after each scenario.
- Author:
- Paul Hammant
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerScenarioWebDriverSteps
public PerScenarioWebDriverSteps(WebDriverProvider driverProvider)
beforeScenario
public void beforeScenario()
throws Exception
- Throws:
Exception
afterScenario
public void afterScenario()
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.