Skip to content

Commit 72e3561

Browse files
committed
AI PR feedback
1 parent f336f9c commit 72e3561

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: dotnet/src/webdriver/Remote/RemoteSessionSettings.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -355,13 +355,13 @@ private bool IsJsonSerializable(object arg)
355355

356356
private string GetDebuggerDisplay()
357357
{
358-
string browser = this.mustMatchDriverOptions.BrowserName;
358+
string browser = this.mustMatchDriverOptions?.BrowserName;
359359

360360
if (!string.IsNullOrEmpty(browser))
361361
{
362362
return $"Browser = {browser}, Additional Driver Count = {this.firstMatchOptions.Count}";
363363
}
364-
return $"Additional Driver Count = {this.firstMatchOptions.Count}, ";
364+
return $"Additional Driver Count = {this.firstMatchOptions.Count}";
365365
}
366366
}
367367
}

0 commit comments

Comments
 (0)