Table of Contents

Class ConsoleMessage

Namespace
OpenQA.Selenium.DevTools.V146.Console
Assembly
Selenium.WebDriver.dll

Console message.

public sealed class ConsoleMessage
Inheritance
ConsoleMessage
Inherited Members

Properties

Column

Column number in the resource that generated this message (1-based).

[JsonPropertyName("column")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Column { get; set; }

Property Value

long?

Level

Message severity.

[JsonPropertyName("level")]
public ConsoleMessageLevelValues Level { get; set; }

Property Value

ConsoleMessageLevelValues

Line

Line number in the resource that generated this message (1-based).

[JsonPropertyName("line")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Line { get; set; }

Property Value

long?

Source

Message source.

[JsonPropertyName("source")]
public ConsoleMessageSourceValues Source { get; set; }

Property Value

ConsoleMessageSourceValues

Text

Message text.

[JsonPropertyName("text")]
public string Text { get; set; }

Property Value

string

Url

URL of the message origin.

[JsonPropertyName("url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Url { get; set; }

Property Value

string