Class HtmlUnitElementFinder.FindByCssSelector

  • Enclosing class:
    HtmlUnitElementFinder

    public static class HtmlUnitElementFinder.FindByCssSelector
    extends HtmlUnitElementFinder.HtmlUnitElementLocator
    Locator strategy for finding elements using CSS selectors.

    This class provides methods to locate a single element or multiple elements on a page or within a specific element by applying a CSS selector string. If the CSS selector is invalid or does not match any DomElement, a NoSuchElementException is thrown.