All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jbehave.web.selenium.SeleniumContextOutput Maven / Gradle / Ivy

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);
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy