org.openqa.selenium.htmlunit
Class HtmlUnitMouse
java.lang.Object
org.openqa.selenium.htmlunit.HtmlUnitMouse
- All Implemented Interfaces:
- Mouse
public class HtmlUnitMouse
- extends java.lang.Object
- implements Mouse
Implements mouse operations using the HtmlUnit WebDriver.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlUnitMouse
public HtmlUnitMouse(HtmlUnitDriver parent,
HtmlUnitKeyboard keyboard)
click
public void click(WebElement onElement)
- Specified by:
click
in interface Mouse
click
public void click(com.gargoylesoftware.htmlunit.html.HtmlElement element)
doubleClick
public void doubleClick(WebElement onElement)
- Specified by:
doubleClick
in interface Mouse
doubleClick
public void doubleClick(com.gargoylesoftware.htmlunit.html.HtmlElement element)
contextClick
public void contextClick(WebElement onElement)
- Specified by:
contextClick
in interface Mouse
contextClick
public void contextClick(com.gargoylesoftware.htmlunit.html.HtmlElement element)
mouseDown
public void mouseDown(WebElement onElement)
- Specified by:
mouseDown
in interface Mouse
mouseDown
public void mouseDown(com.gargoylesoftware.htmlunit.html.HtmlElement element)
mouseUp
public void mouseUp(WebElement onElement)
- Specified by:
mouseUp
in interface Mouse
mouseUp
public void mouseUp(com.gargoylesoftware.htmlunit.html.HtmlElement element)
mouseMove
public void mouseMove(WebElement toElement)
- Specified by:
mouseMove
in interface Mouse
mouseMove
public void mouseMove(com.gargoylesoftware.htmlunit.html.HtmlElement element)
mouseMove
public void mouseMove(WebElement toElement,
long xOffset,
long yOffset)
- Specified by:
mouseMove
in interface Mouse
Copyright © 2010. All Rights Reserved.