com.nordstrom.automation.selenium.junit.ScreenshotCapture Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-foundation Show documentation
Show all versions of selenium-foundation Show documentation
Selenium Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium (WebDriver).
package com.nordstrom.automation.selenium.junit;
import com.nordstrom.automation.junit.ArtifactCollector;
/**
* This class uses the {@link ArtifactCollector} to implement a screenshot capturing test watcher.
*/
public class ScreenshotCapture extends ArtifactCollector {
/**
* This constructor provides a {@link ScreenshotArtifact} object to the {@link ArtifactCollector}.
*
* @param instance JUnit test class instance
*/
public ScreenshotCapture(final Object instance) {
super(instance, new ScreenshotArtifact());
}
}