Table of Contents

Class EventHandler

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

Constructors

EventHandler(string, IEnumerable<BrowsingContext>?)

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

Parameters

eventName string
contexts IEnumerable<BrowsingContext>

Properties

Contexts

public IEnumerable<BrowsingContext>? Contexts { get; }

Property Value

IEnumerable<BrowsingContext>

EventName

public string EventName { get; }

Property Value

string

Methods

InvokeAsync(EventArgs)

public abstract ValueTask InvokeAsync(EventArgs args)

Parameters

args EventArgs

Returns

ValueTask