Package org.openqa.selenium.htmlunit
Class HtmlUnitInputProcessor.PointerMoveHtmlUnitAction
- java.lang.Object
-
- org.openqa.selenium.htmlunit.HtmlUnitInputProcessor.PointerMoveHtmlUnitAction
-
- All Implemented Interfaces:
HtmlUnitInputProcessor.HtmlUnitAction
- Enclosing class:
- HtmlUnitInputProcessor
public static final class HtmlUnitInputProcessor.PointerMoveHtmlUnitAction extends Object
AnHtmlUnitInputProcessor.HtmlUnitActionthat moves the pointer to the specifiedDomElement. This action updates the driver's mouse location without performing a click.
-
-
Constructor Summary
Constructors Constructor Description PointerMoveHtmlUnitAction(DomElement domElement)Creates a new pointer-move action targeting the given DOM element.
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
PointerMoveHtmlUnitAction
public PointerMoveHtmlUnitAction(DomElement domElement)
Creates a new pointer-move action targeting the given DOM element.- Parameters:
domElement- the element to move the pointer to
-
-
Method Detail
-
process
public void process(HtmlUnitDriver driver)
Description copied from interface:HtmlUnitInputProcessor.HtmlUnitActionProcesses this action using the givenHtmlUnitDriver.- Parameters:
driver- the driver used to execute the action; must not benull
-
join
public HtmlUnitInputProcessor.HtmlUnitAction join(HtmlUnitInputProcessor.HtmlUnitAction previousAction)
Description copied from interface:HtmlUnitInputProcessor.HtmlUnitActionCombines 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
-
-