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
eventDataobjectThe data to use when invoking the event.
additionalDataReceivedDataDictionaryAdditional data passed to the event for invocation.
additionalEventPropertiesReceivedDataDictionaryThe 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.