Open topic with navigation

FireEvent Method (IWebElement)
Triggers the specified event on this object.
Remarks
Use the EventInfoFactory static class to generate the eventInfo argument value.

C# Syntax

    void FireEvent(
       EventInfo eventInfo
    )

Parameters

eventInfo
  The event info describing the event to trigger. The event can be any HTML DOM event.

Example

    var search = browser.Describe<IEditField>(new EditFieldDescription
    {
        Name = "q"
    });
    search.FireEvent(EventInfoFactory.CreateEventInfo("onkeydown"));