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
stringeventArgsType
Typecontexts
IEnumerable<BrowsingContext>
Properties
Contexts
public IEnumerable<BrowsingContext>? Contexts { get; }
Property Value
EventArgsType
public Type EventArgsType { get; set; }
Property Value
EventName
public string EventName { get; }
Property Value
Methods
InvokeAsync(object)
public abstract ValueTask InvokeAsync(object args)
Parameters
args
object