com.nordstrom.automation.selenium.exceptions.ShadowRootContextException 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 com.nordstrom.automation.selenium.model.ShadowRoot;
/**
* This exception is throw during instantiation of {@link ShadowRoot} page components if the indicated root
* element is not a shadow host or has 'closed' shadow-DOM mode.
*/
public class ShadowRootContextException extends RuntimeException {
private static final long serialVersionUID = -2655316241833901377L;
/**
* Constructor for {@code shadow root context} exception.
*/
public ShadowRootContextException() {
super("Context is not a shadow host or has 'closed' shadow-DOM mode");
}
}