Skip to content

Commit 1854915

Browse files
Merge branch 'trunk' into dotnet-driver-service
2 parents b01b3f5 + 622f761 commit 1854915

File tree

5 files changed

+135
-135
lines changed

5 files changed

+135
-135
lines changed

common/geckodriver/geckodriver-support.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"geckodriver-releases": [
3+
{
4+
"geckodriver-version": "0.36.0",
5+
"min-firefox-version": 115
6+
},
37
{
48
"geckodriver-version": "0.35.0",
59
"min-firefox-version": 115

dotnet/src/webdriver/Command.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ public Command(string name, string jsonParameters)
5555
/// <param name="sessionId">Session ID the driver is using</param>
5656
/// <param name="name">Name of the command</param>
5757
/// <param name="parameters">Parameters for that command</param>
58+
/// <exception cref="ArgumentNullException">If <paramref name="name"/> is <see langword="null"/>.</exception>
5859
public Command(SessionId? sessionId, string name, Dictionary<string, object>? parameters)
5960
{
6061
this.SessionId = sessionId;
6162
this.Parameters = parameters ?? new Dictionary<string, object>();
62-
this.Name = name;
63+
this.Name = name ?? throw new ArgumentNullException(nameof(name));
6364
}
6465

6566
/// <summary>

dotnet/src/webdriver/CommandInfoRepository.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public bool IsCommandNameDefined(string commandName)
8787
/// </summary>
8888
/// <param name="commandName">The <see cref="DriverCommand"/> for which to get the information.</param>
8989
/// <returns>The <see cref="HttpCommandInfo"/> for the specified command, or <see langword="null"/> if not found or value is not <typeparamref name="T"/>.</returns>
90+
/// <exception cref="ArgumentNullException">If <paramref name="commandName"/> is <see langword="null"/>.</exception>
9091
public T? GetCommandInfo<T>(string commandName) where T : CommandInfo
9192
{
9293
T? toReturn = default;

0 commit comments

Comments
 (0)