Package org.openqa.selenium.htmlunit
Interface HtmlUnitInputProcessor.HtmlUnitAction
-
- All Known Implementing Classes:
HtmlUnitInputProcessor.KeyDownHtmlUnitAction,HtmlUnitInputProcessor.KeySendHtmlUnitAction,HtmlUnitInputProcessor.KeyUpHtmlUnitAction,HtmlUnitInputProcessor.PointerDownHtmlUnitAction,HtmlUnitInputProcessor.PointerHtmlUnitAction,HtmlUnitInputProcessor.PointerMoveHtmlUnitAction,HtmlUnitInputProcessor.PointerUpHtmlUnitAction
- Enclosing class:
- HtmlUnitInputProcessor
public static interface HtmlUnitInputProcessor.HtmlUnitActionRepresents a low-level input action that can be executed by anHtmlUnitDriver. Implementations define how a specific action (keyboard, mouse, etc.) is processed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HtmlUnitInputProcessor.HtmlUnitActionjoin(HtmlUnitInputProcessor.HtmlUnitAction previousAction)Combines this action with a previous action, returning a newHtmlUnitInputProcessor.HtmlUnitActionthat represents the joined sequence.voidprocess(HtmlUnitDriver driver)Processes this action using the givenHtmlUnitDriver.
-
-
-
Method Detail
-
process
void process(HtmlUnitDriver driver)
Processes this action using the givenHtmlUnitDriver.- Parameters:
driver- the driver used to execute the action; must not benull
-
join
HtmlUnitInputProcessor.HtmlUnitAction join(HtmlUnitInputProcessor.HtmlUnitAction previousAction)
Combines this action with a previous action, returning a newHtmlUnitInputProcessor.HtmlUnitActionthat represents the joined sequence. This can be used to optimize or merge actions.- Parameters:
previousAction- the action to join with; may benull- Returns:
- a new
HtmlUnitInputProcessor.HtmlUnitActionrepresenting the combined actions
-
-