MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Command

Method Command

dotnet/src/webdriver/Command.cs:47–50  ·  view source on GitHub ↗

Initializes a new instance of the class using a command name and a JSON-encoded string for the parameters. Name of the command Parameters for the command as a JSON-encoded string.

(string name, string jsonParameters)

Source from the content-addressed store, hash-verified

45 /// <param name="name">Name of the command</param>
46 /// <param name="jsonParameters">Parameters for the command as a JSON-encoded string.</param>
47 public Command(string name, string jsonParameters)
48 : this(null, name, ConvertParametersFromJson(jsonParameters))
49 {
50 }
51
52 /// <summary>
53 /// Initializes a new instance of the <see cref="Command"/> class for a Session

Callers

nothing calls this directly

Calls 1

ThrowIfNullMethod · 0.80

Tested by

no test coverage detected