Gripper

A web-scraping toolbox for .NET.

View on GitHub

Gripper.WebClient

Gripper.WebClient.IElement

IElement.ClickAsync(int) Method

Dispatches a click event onto the area of the element.

System.Threading.Tasks.Task ClickAsync(int clickDurationMs);

Parameters

clickDurationMs System.Int32
Delay between the MouseDown and MouseUp events.

Returns

System.Threading.Tasks.Task
A System.Threading.Tasks.Task representing the click operation

Remarks

The implementations should take advantage of the
dispatch mouse event.
Do not use the DOM .click() or invoke the onclick() or other mouse events by evaluating a script.
This is unreliable and easy to detect.