com.nordstrom.automation.selenium.exceptions.OptionalElementNotAcquiredException 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.exceptions;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebElement;
/**
* This exception is thrown upon failing to acquire the reference for an optional element prior to invoking a
* {@link WebElement} method.
*/
public class OptionalElementNotAcquiredException extends NoSuchElementException {
private static final long serialVersionUID = -1817241270199904930L;
/**
* Constructor for {@code not acquired} exception.
*
* @param cause the cause of this exception
*/
public OptionalElementNotAcquiredException(final NoSuchElementException cause) {
super("Unable to acquire reference for optional element", cause);
}
}