Table of Contents

Class ToolRespondedEventArgs

Namespace
OpenQA.Selenium.DevTools.V148.WebMCP
Assembly
Selenium.WebDriver.dll

Event fired when a tool invocation completes or fails.

public sealed class ToolRespondedEventArgs : EventArgs
Inheritance
ToolRespondedEventArgs
Inherited Members

Properties

ErrorText

Error text for protocol users.

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

Property Value

string

Exception

The exception object, if the javascript tool threw an error>

[JsonPropertyName("exception")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RemoteObject? Exception { get; set; }

Property Value

RemoteObject

InvocationId

Invocation identifier.

[JsonPropertyName("invocationId")]
public string InvocationId { get; set; }

Property Value

string

Output

Output or error delivered as delivered to the agent. Missing if status is anything other than Success.

[JsonPropertyName("output")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public object? Output { get; set; }

Property Value

object

Status

Status of the invocation.

[JsonPropertyName("status")]
public InvocationStatus Status { get; set; }

Property Value

InvocationStatus