Table of Contents

Class EventHandler

Namespace
OpenQA.Selenium.BiDi.Communication
Assembly
WebDriver.dll
public abstract class EventHandler
Inheritance
EventHandler
Inherited Members

Constructors

EventHandler(string, Type, IEnumerable<BrowsingContext>?)

protected EventHandler(string eventName, Type eventArgsType, IEnumerable<BrowsingContext>? contexts = null)

Parameters

eventName string
eventArgsType Type
contexts IEnumerable<BrowsingContext>

Properties

Contexts

public IEnumerable<BrowsingContext>? Contexts { get; }

Property Value

IEnumerable<BrowsingContext>

EventArgsType

public Type EventArgsType { get; set; }

Property Value

Type

EventName

public string EventName { get; }

Property Value

string

Methods

InvokeAsync(object)

public abstract ValueTask InvokeAsync(object args)

Parameters

args object

Returns

ValueTask