Skip to content

[Win]DoubleClick.cs

Avrigeanu Laurian edited this page Apr 14, 2023 · 1 revision

DoubleClick(mouseMove: bool) : void

Parameters

  • mouseMove (Optional, default: false) - A boolean value that indicates whether to perform a mouse move action before the double-click action. If set to true, the mouse cursor will move to the target element before performing a double-click. If set to false, the double-click action will be performed directly on the active element without moving the mouse cursor.

Returns

  • This method does not return a value.

Remarks

  • The DoubleClick method attempts to double-click the active element on the screen. If an exception occurs during the process, a retry policy is used to handle the exception and retry the double-click action. The retry policy is configured to wait for a specific time span before each retry attempt and to display an error message and retry count in the console.
Clone this wiki locally