com.nordstrom.automation.selenium.junit.RetryAnalyzer 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 org.junit.runners.model.FrameworkMethod;
import org.openqa.selenium.WebDriverException;
import com.nordstrom.automation.junit.JUnitRetryAnalyzer;
public class RetryAnalyzer implements JUnitRetryAnalyzer {
@Override
public boolean retry(FrameworkMethod method, Throwable thrown) {
return (thrown instanceof WebDriverException);
}
}