Skip to content

Commit 9440b5e

Browse files
authored
Merge branch 'SeleniumHQ:trunk' into py-selenium-manager-arm-support
2 parents 6ddeab2 + 66e1130 commit 9440b5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/webdriver/Firefox/FirefoxDriver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public override IFileDetector FileDetector
252252
}
253253

254254
/// <summary>
255-
/// Sets the command context used when issuing commands to <c>geckodriver</c>.
255+
/// Gets the command context used when issuing commands to <c>geckodriver</c>.
256256
/// </summary>
257257
/// <exception cref="WebDriverException">If response is not recognized</exception>
258258
/// <returns>The context of commands.</returns>
@@ -263,7 +263,7 @@ public FirefoxCommandContext GetContext()
263263
if (commandResponse.Value is not string response
264264
|| !Enum.TryParse(response, ignoreCase: true, out FirefoxCommandContext output))
265265
{
266-
throw new WebDriverException(string.Format(CultureInfo.InvariantCulture, "Do not recognize response: {0}; expected Context or Chrome", commandResponse.Value));
266+
throw new WebDriverException(string.Format(CultureInfo.InvariantCulture, "Could not recognize the response: {0}; expected 'Content' or 'Chrome'", commandResponse.Value));
267267
}
268268

269269
return output;

0 commit comments

Comments
 (0)