File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public static Response FromJson(string value)
112112 }
113113 }
114114
115- if ( contents is Dictionary < string , object > valueDictionary )
115+ if ( contents is Dictionary < string , object ? > valueDictionary )
116116 {
117117 // Special case code for the new session command. If the response contains
118118 // sessionId and capabilities properties, fix up the session ID and value members.
@@ -167,7 +167,7 @@ public static Response FromErrorJson(string value)
167167 throw new WebDriverException ( $ "The 'value' property was not found in the response:{ Environment . NewLine } { value } ") ;
168168 }
169169
170- if ( valueObject is not Dictionary < string , object > valueDictionary )
170+ if ( valueObject is not Dictionary < string , object ? > valueDictionary )
171171 {
172172 throw new WebDriverException ( $ "The 'value' property is not a dictionary of <string, object>{ Environment . NewLine } { value } ") ;
173173 }
You can’t perform that action at this time.
0 commit comments