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

com.nordstrom.automation.selenium.junit.ScreenshotCapture Maven / Gradle / Ivy

Go to download

Selenium Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium (WebDriver).

There is a newer version: 28.3.1-s4
Show newest version
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());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy