org.openqa.selenium.interactions
Class MoveToOffsetAction

java.lang.Object
  extended by org.openqa.selenium.internal.interactions.BaseAction
      extended by org.openqa.selenium.interactions.MoveToOffsetAction
All Implemented Interfaces:
Action

public class MoveToOffsetAction
extends BaseAction
implements Action

Move the mouse to a location within the element provided. The coordinates provided specify the offset from the top-left corner of the element.


Field Summary
 
Fields inherited from class org.openqa.selenium.internal.interactions.BaseAction
onElement, parent
 
Constructor Summary
MoveToOffsetAction(WebDriver parent, WebElement toElement, int x, int y)
           
 
Method Summary
 void perform()
           
 
Methods inherited from class org.openqa.selenium.internal.interactions.BaseAction
getKeyboard, getMouse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveToOffsetAction

public MoveToOffsetAction(WebDriver parent,
                          WebElement toElement,
                          int x,
                          int y)
Method Detail

perform

public void perform()
Specified by:
perform in interface Action


Copyright © 2011. All Rights Reserved.