Class HtmlUnitElementFinder.FindByClassName

java.lang.Object
org.openqa.selenium.htmlunit.HtmlUnitElementFinder.HtmlUnitElementLocator
org.openqa.selenium.htmlunit.HtmlUnitElementFinder.FindByClassName
Enclosing class:
HtmlUnitElementFinder

public static class HtmlUnitElementFinder.FindByClassName extends HtmlUnitElementFinder.HtmlUnitElementLocator
Locator strategy for finding elements by their CSS class name.

This class ensures that only single class names are used. Compound class names (containing spaces) are not permitted. Internally, the search is delegated to HtmlUnitElementFinder.FindByCssSelector using a CSS class selector.