Actions Methods

The Actions type exposes the following members.

Methods
  NameDescription
Public methodClick
Clicks an element.
Public methodClickAndHold
Holds down the left mouse button on an element.
Public methodClickContext
Performs a context-click (right click) on an element.
Public methodClickDouble
Double-clicks an element.
Public methodDragAndDrop
Holds down the left mouse button on the source element, then moves to the target element and releases the mouse button.
Public methodDragAndDropByOffset
Holds down the left mouse button on the source element, then moves to the target element and releases the mouse button.
Public methodKeyDown
Sends a key press only, without releasing it. Should only be used with modifier keys (Control, Alt and Shift).
Public methodKeyUp
Releases a modifier key.
Public methodMoveByOffset
Moving the mouse to an offset from current mouse position.
Public methodMoveToElement
Moving the mouse to the middle of an element.
Public methodPerform
Performs all stored Actions.
Public methodRelease
Releasing a held mouse button.
Public methodSendKeys
Sends keys to an element.
Public methodWait
Waits the given time in millisecond.
Top
See Also