| Actions Class |
Namespace: Selenium
Dim instance As Actions
The Actions type exposes the following members.
| Name | Description | |
|---|---|---|
| Click |
Clicks an element.
| |
| ClickAndHold |
Holds down the left mouse button on an element.
| |
| ClickContext |
Performs a context-click (right click) on an element.
| |
| ClickDouble |
Double-clicks an element.
| |
| DragAndDrop |
Holds down the left mouse button on the source element, then moves to the target element and releases the mouse button.
| |
| DragAndDropByOffset |
Holds down the left mouse button on the source element, then moves to the target element and releases the mouse button.
| |
| KeyDown |
Sends a key press only, without releasing it. Should only be used with modifier keys (Control, Alt and Shift).
| |
| KeyUp |
Releases a modifier key.
| |
| MoveByOffset |
Moving the mouse to an offset from current mouse position.
| |
| MoveToElement |
Moving the mouse to the middle of an element.
| |
| Perform |
Performs all stored Actions.
| |
| Release |
Releasing a held mouse button.
| |
| SendKeys |
Sends keys to an element.
| |
| Wait |
Waits the given time in millisecond.
|
Set ele = driver.FindElementById("id") driver.Actions.ClickDouble(ele).SendKeys("abcd").Perform