net.serenitybdd.core.exceptions.NoSuchElementException Maven / Gradle / Ivy
package net.serenitybdd.core.exceptions;
/**
* I need {@link org.openqa.selenium.NoSuchElementException} that does
* not include
* {@link org.openqa.selenium.InvalidSelectorException}. See
* issue
* #2138 for discussion.
*
* @author SiKing
*/
public class NoSuchElementException extends org.openqa.selenium.NoSuchElementException {
private static final long serialVersionUID = 1L;
public NoSuchElementException(String reason) {
super(reason);
}
public NoSuchElementException(String reason, Throwable cause) {
super(reason, cause);
}
}