-
Notifications
You must be signed in to change notification settings - Fork 0
[Win]Click.cs
Avrigeanu Laurian edited this page Apr 14, 2023
·
1 revision
-
simulateClick
: Abool
parameter that, when set totrue
, simulates the click action by invoking the button. When set tofalse
, the click action is performed by the ActiveElement'sClick()
method. -
mouseMove
: An optionalbool
parameter that is only used whensimulateClick
is set tofalse
. When set totrue
, theClick()
method of the ActiveElement is called with themouseMove
parameter, otherwise, it's called without any parameter. Default value isfalse
.
- This method does not return any value.
- The
Click()
method uses a retry policy with a specified number of retries and a fixed timespan between retries. In case an exception occurs while clicking the element, the error message is displayed, and the method retries the click action according to the policy. If all retries fail, the exception is thrown.