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

com.nordstrom.automation.selenium.support.RetryAnalyzer 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.support;

import org.openqa.selenium.WebDriverException;
import org.testng.ITestResult;

import com.nordstrom.automation.testng.RetryManager;

public class RetryAnalyzer extends RetryManager {
    
    @Override
    protected boolean isRetriable(ITestResult result) {
        if (result.getThrowable() instanceof WebDriverException) {
            return true;
        }
        return super.isRetriable(result);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy