
org.jbehave.web.selenium.SeleniumContextStoryReporter Maven / Gradle / Ivy
package org.jbehave.web.selenium;
import org.jbehave.core.reporters.NullStoryReporter;
public class SeleniumContextStoryReporter extends NullStoryReporter {
private final SeleniumContext seleniumContext;
public SeleniumContextStoryReporter(SeleniumContext seleniumContext) {
this.seleniumContext = seleniumContext;
}
@Override
public void beforeScenario(String title) {
seleniumContext.setCurrentScenario(title);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy