MouseExtensionsSimulateClick Method (IMouse, MouseButton, IElement) |
Namespace: DotNetBrowser.Input.Mouse
public static void SimulateClick( this IMouse mouse, MouseButton mouseButton, IElement element )
The mouse click is simulated by raising Moved, Pressed, and Released events in a sequence.
The point to click at is determined as the center of the bounding client rectangle of the specified element.