com.version1.webdriver.configuration.TolerantActionExceptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-java-test-automation Show documentation
Show all versions of selenium-java-test-automation Show documentation
A simple Selenium framework offering externalised configuration, a good selection of libraries for supporting
test data, simple WebDriver browser binary resolution and an opinionated approach for WebDriver test design.
The newest version!
package com.version1.webdriver.configuration;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class TolerantActionExceptions {
private String waitTimeoutInSeconds;
private List exceptionsToHandle;
/**
*
* @return the tolerant action wait time in seconds
*/
public String getWaitTimeoutInSeconds() {
return waitTimeoutInSeconds;
}
/**
*
* @param waitTimeoutInSeconds set the tolerant action wait time in seconds
*/
@JsonProperty("waitTimeoutInSeconds")
public void setWaitTimeoutInSeconds(String waitTimeoutInSeconds) {
this.waitTimeoutInSeconds = waitTimeoutInSeconds;
}
/**
*
* @return Exceptions list that we will use to tolerate in tolerable action wrappers
*/
public List getExceptionsToHandle() {
return exceptionsToHandle;
}
/**
*
* @param exceptionsToHandle sets the list of exceptions for WebDriver that we will retry
* on when using our tolerant wrapper
*/
@JsonProperty("exceptionsToHandle")
public void setExceptionsToHandle(List exceptionsToHandle) {
this.exceptionsToHandle = exceptionsToHandle;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy