 | MouseClick Method (Element, Location, Int32, Duration) |
Clicks on the element at a specific location, with the left mouse button, the specified number of times.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void Click(
Element element,
Location location,
int times,
Duration moveTime
)
Public Shared Sub Click (
element As Element,
location As Location,
times As Integer,
moveTime As Duration
)
Parameters
- element
- Type: Ranorex.CoreElement
The element to click. - location
- Type: RanorexLocation
The location to click at. - times
- Type: SystemInt32
The number of times to click. - moveTime
- Type: RanorexDuration
The time after which the mouse should be at the specified position.
See Also