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 selenium3-foundation Show documentation
Show all versions of selenium3-foundation Show documentation
Selenium3 Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium 3.0 (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(Object instance) {
super(instance, new ScreenshotArtifact());
}
}