File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dotnet/src/webdriver/DevTools/Json
third_party/dotnet/devtools/src/generator/Templates Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ namespace OpenQA.Selenium.DevTools.Json;
66
77internal static class DevToolsJsonOptions
88{
9- public static JsonSerializerOptions DevToolsSerializerOptions { get ; } = new JsonSerializerOptions ( )
9+ public static JsonSerializerOptions Default { get ; } = new JsonSerializerOptions ( )
1010 {
1111 Converters =
1212 {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ namespace {{rootNamespace}}.{{domain.Name}}
6161 if (m_eventMap.ContainsKey(e.EventName))
6262 {
6363 var eventData = m_eventMap[e.EventName];
64- var eventArgs = e.EventData.Deserialize(eventData.EventArgsType, global::OpenQA.Selenium.DevTools.Json.DevToolsJsonOptions.DevToolsSerializerOptions );
64+ var eventArgs = e.EventData.Deserialize(eventData.EventArgsType, global::OpenQA.Selenium.DevTools.Json.DevToolsJsonOptions.Default );
6565 eventData.EventInvoker(eventArgs);
6666 }
6767 }
You can’t perform that action at this time.
0 commit comments