Table of Contents

Class ConsoleApiCalledEventArgs

Namespace
OpenQA.Selenium.DevTools
Assembly
WebDriver.dll

Event arguments present when the ConsoleApiCalled event is raised.

public class ConsoleApiCalledEventArgs : EventArgs
Inheritance
ConsoleApiCalledEventArgs
Inherited Members

Constructors

ConsoleApiCalledEventArgs(DateTime, string, ReadOnlyCollection<ConsoleApiArgument>)

Initializes a new instance of the ConsoleApiCalledEventArgs type.

public ConsoleApiCalledEventArgs(DateTime timestamp, string type, ReadOnlyCollection<ConsoleApiArgument> arguments)

Parameters

timestamp DateTime

The time stanp when the browser's console API is called.

type string

The type of message when the browser's console API is called.

arguments ReadOnlyCollection<ConsoleApiArgument>

The arguments of the call to the browser's console API.

Exceptions

ArgumentNullException

If arguments is null.

Properties

Arguments

Gets the arguments of the call to the browser's console API.

public ReadOnlyCollection<ConsoleApiArgument> Arguments { get; }

Property Value

ReadOnlyCollection<ConsoleApiArgument>

Timestamp

Gets the time stanp when the browser's console API is called.

public DateTime Timestamp { get; }

Property Value

DateTime

Type

Gets the type of message when the browser's console API is called.

public string Type { get; }

Property Value

string