Package org.openqa.selenium.htmlunit
package org.openqa.selenium.htmlunit
HtmlUnit WebDriver implementation.
-
ClassDescriptionDetermines the appropriate
BrowserVersionto use based on system properties, capabilities, or other configuration sources.Provides an implementation ofAlertforHtmlUnitDriver.An implementation ofWebDriverthat drives HtmlUnit, which is a headless (GUI-less) browser simulator.Maintains a bidirectional mapping betweenDomElementinstances and their correspondingHtmlUnitWebElementwrappers.Represents a JavaScript array-like result set returned from script execution.Locator strategy for finding elements by their CSS class name.Locator strategy for finding elements using CSS selectors.Locator strategy for finding elements by theiridattribute.Locator strategy for finding anchor elements (<a>) by their exact visible text.Locator strategy for finding elements by theirnameattribute.Locator strategy for finding anchor elements (<a>) by partial visible text.Locator implementation that handlesRelativeLocator.RelativeByselectors for finding elements relative to other elements.Locator strategy for finding elements by their tag name.Locator strategy for finding elements using XPath expressions.Base class for element locators used byHtmlUnitElementFinder.Processes and executes input-relatedHtmlUnitInputProcessor.HtmlUnitActioninstances for aHtmlUnitDriver.Represents a low-level input action that can be executed by anHtmlUnitDriver.AnHtmlUnitInputProcessor.HtmlUnitActionthat represents a key-down event.AnHtmlUnitInputProcessor.HtmlUnitActionrepresenting a complete key press sequence.AnHtmlUnitInputProcessor.HtmlUnitActionthat represents a key-up event.A pointer action that presses a specific mouse button.Base class for pointer actions that operate on a specific button.AnHtmlUnitInputProcessor.HtmlUnitActionthat moves the pointer to the specifiedDomElement.A pointer action that releases a specific mouse button.Provides keyboard input handling forHtmlUnitDriver.MapsKeysto theirKeyboardEventconstant.Provides basic mouse interaction support forHtmlUnitDriver.Provides target–location functionality forHtmlUnitDriver, allowing navigation to frames, windows, alerts, and other browser contexts.Implements theWebDriver.Timeoutsinterface for HtmlUnit.Represents an HTML element in the context ofHtmlUnitDriver.Converts a group of character sequences to a string to be sent by sendKeys.