Table of Contents

Method CreateMouseEvent

Namespace
DotNetBrowser.Dom
Assembly
DotNetBrowser.dll

CreateMouseEvent(EventType, MouseEventParameters)

Creates and returns a new IMouseEvent object with the given

eventType
and
parameters
.
IMouseEvent CreateMouseEvent(EventType eventType, MouseEventParameters parameters)

Parameters

eventType EventType

an EventTypeobject representing a type of a valid DOM event supported by engine. Cannot be null.

parameters MouseEventParameters

a MouseEventParameters object representing mouse event properties (e.g. bubbles, cancellable). Cannot be null.

Returns

IMouseEvent

the new IMouseEvent object.

Exceptions

ArgumentException

when eventType or parameters values are null.