We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f336f9c commit 72e3561Copy full SHA for 72e3561
dotnet/src/webdriver/Remote/RemoteSessionSettings.cs
@@ -355,13 +355,13 @@ private bool IsJsonSerializable(object arg)
355
356
private string GetDebuggerDisplay()
357
{
358
- string browser = this.mustMatchDriverOptions.BrowserName;
+ string browser = this.mustMatchDriverOptions?.BrowserName;
359
360
if (!string.IsNullOrEmpty(browser))
361
362
return $"Browser = {browser}, Additional Driver Count = {this.firstMatchOptions.Count}";
363
}
364
- return $"Additional Driver Count = {this.firstMatchOptions.Count}, ";
+ return $"Additional Driver Count = {this.firstMatchOptions.Count}";
365
366
367
0 commit comments