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 fff58e4 commit eaae0e6Copy full SHA for eaae0e6
dotnet/src/webdriver/Logs.cs
@@ -94,7 +94,7 @@ public ReadOnlyCollection<LogEntry> GetLog(string logKind)
94
{
95
foreach (object rawEntry in responseValue)
96
97
- Dictionary<string, object> entryDictionary = (Dictionary<string, object>)rawEntry;
+ Dictionary<string, object>? entryDictionary = rawEntry as Dictionary<string, object>;
98
if (entryDictionary != null)
99
100
entries.Add(LogEntry.FromDictionary(entryDictionary));
0 commit comments