org.jbehave.web.selenium.SeleniumContextOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbehave-web-selenium Show documentation
Show all versions of jbehave-web-selenium Show documentation
Selenium and WebDriver API bindings for JBehave
The newest version!
package org.jbehave.web.selenium;
import org.jbehave.core.reporters.FilePrintStreamFactory;
import org.jbehave.core.reporters.StoryReporter;
import org.jbehave.core.reporters.StoryReporterBuilder;
public class SeleniumContextOutput extends org.jbehave.core.reporters.Format {
private final SeleniumContext seleniumContext;
public SeleniumContextOutput(SeleniumContext seleniumContext) {
super("SELENIUM_CONTEXT");
this.seleniumContext = seleniumContext;
}
@Override
public StoryReporter createStoryReporter(FilePrintStreamFactory filePrintStreamFactory, StoryReporterBuilder storyReporterBuilder) {
return new SeleniumContextStoryReporter(seleniumContext);
}
}