Table of Contents

Class EventInvoker

Namespace
WebDriverBiDi.Protocol
Assembly
WebDriverBiDi.dll

Object containing data about a WebDriver BiDi event.

public abstract class EventInvoker
Inheritance
EventInvoker
Derived
Inherited Members

Constructors

EventInvoker()

protected EventInvoker()

Methods

InvokeEventAsync(object?, ReceivedDataDictionary, ReceivedDataDictionary)

Asynchronously invokes the event.

public abstract Task InvokeEventAsync(object? eventData, ReceivedDataDictionary additionalData, ReceivedDataDictionary additionalEventProperties)

Parameters

eventData object

The data to use when invoking the event.

additionalData ReceivedDataDictionary

Additional data passed to the event for invocation.

additionalEventProperties ReceivedDataDictionary

The extension properties received on the event envelope.

Returns

Task

A task representing the asynchronous operation.

Exceptions

WebDriverBiDiException

Thrown when the type of the event data is not the type associated with this event data class.