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 selenium3-foundation Show documentation
Show all versions of selenium3-foundation Show documentation
Selenium3 Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium 3.0 (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 RuntimeException {
private static final long serialVersionUID = -1817241270199904930L;
/**
* Constructor for {@code not acquired} exception.
*
* @param cause the cause of this exception
*/
public OptionalElementNotAcquiredException(NoSuchElementException cause) {
super("Unable to acquire reference for optional element", cause);
}
}