Table of Contents

Class SafariResponseMessage

Namespace
OpenQA.Selenium.Safari
Assembly
WebDriver.dll

Creates a WebSockets response message according to the SafariDriver specification.

public class SafariResponseMessage
Inheritance
SafariResponseMessage
Inherited Members

Constructors

SafariResponseMessage()

public SafariResponseMessage()

Properties

Id

Gets or sets the ID of the command.

public string Id { get; set; }

Property Value

string

MessageOrigin

Gets or sets the origin of the response message.

public string MessageOrigin { get; set; }

Property Value

string

MessageType

Gets or sets the type of the response message.

public string MessageType { get; set; }

Property Value

string

Response

Gets or sets the internal response for the given command.

public Response Response { get; set; }

Property Value

Response

Methods

FromJson(string)

Returns a new Response from a JSON-encoded string.

public static SafariResponseMessage FromJson(string value)

Parameters

value string

The JSON string to deserialize into a Response.

Returns

SafariResponseMessage

A Response object described by the JSON string.