Provides a mechanism for building advanced interactions with the browser.
Inheritance Hierarchy
OpenQA.Selenium.InteractionsActions
OpenQA.Selenium.InteractionsTouchActions
Namespace: OpenQA.Selenium.Interactions
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax
The Actions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Actions |
Initializes a new instance of the Actions class.
|
Methods
Name | Description | |
---|---|---|
![]() | AddAction |
Adds an action to current list of actions to be performed.
|
![]() | Build |
Builds the sequence of actions.
|
![]() | Click |
Clicks the mouse at the last known mouse coordinates.
|
![]() | Click(IWebElement) |
Clicks the mouse on the specified element.
|
![]() | ClickAndHold |
Clicks and holds the mouse button at the last known mouse coordinates.
|
![]() | ClickAndHold(IWebElement) |
Clicks and holds the mouse button down on the specified element.
|
![]() | ContextClick |
Right-clicks the mouse at the last known mouse coordinates.
|
![]() | ContextClick(IWebElement) |
Right-clicks the mouse on the specified element.
|
![]() | DoubleClick |
Double-clicks the mouse at the last known mouse coordinates.
|
![]() | DoubleClick(IWebElement) |
Double-clicks the mouse on the specified element.
|
![]() | DragAndDrop |
Performs a drag-and-drop operation from one element to another.
|
![]() | DragAndDropToOffset |
Performs a drag-and-drop operation on one element to a specified offset.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetLocatableFromElement |
Gets the ILocatable instance of the specified IWebElement.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | KeyDown(String) |
Sends a modifier key down message to the browser.
|
![]() | KeyDown(IWebElement, String) |
Sends a modifier key down message to the specified element in the browser.
|
![]() | KeyUp(String) |
Sends a modifier key up message to the browser.
|
![]() | KeyUp(IWebElement, String) |
Sends a modifier up down message to the specified element in the browser.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MoveByOffset |
Moves the mouse to the specified offset of the last known mouse coordinates.
|
![]() | MoveToElement(IWebElement) |
Moves the mouse to the specified element.
|
![]() | MoveToElement(IWebElement, Int32, Int32) |
Moves the mouse to the specified offset of the top-left corner of the specified element.
|
![]() | Perform |
Performs the currently built action.
|
![]() | Release |
Releases the mouse button at the last known mouse coordinates.
|
![]() | Release(IWebElement) |
Releases the mouse button on the specified element.
|
![]() | SendKeys(String) |
Sends a sequence of keystrokes to the browser.
|
![]() | SendKeys(IWebElement, String) |
Sends a sequence of keystrokes to the specified element in the browser.
|
![]() | ToString | (Inherited from Object.) |
See Also