We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47ebeb5 commit 857e238Copy full SHA for 857e238
dotnet/src/webdriver/Response.cs
@@ -221,11 +221,11 @@ public string ToJson()
221
/// </summary>
222
/// <exception cref="WebDriverException">If <see cref="Value"/> is <see langword="null"/>.</exception>
223
[MemberNotNull(nameof(Value))]
224
- internal Response EnsureValueIsNotNull(string commandName)
+ internal Response EnsureValueIsNotNull()
225
{
226
if (Value is null)
227
228
- throw new WebDriverException($"{commandName} command returned a successful result, but contained no data");
+ throw new WebDriverException("Remote end doesn't have $.Value property");
229
}
230
231
return this;
0 commit comments