2222
2323namespace OpenQA . Selenium . BiDi . Communication . Json ;
2424
25- // https://github.com/dotnet/runtime/issues/72604
25+ #region https://github.com/dotnet/runtime/issues/72604
2626[ JsonSerializable ( typeof ( MessageSuccess ) ) ]
2727[ JsonSerializable ( typeof ( MessageError ) ) ]
2828[ JsonSerializable ( typeof ( MessageEvent ) ) ]
@@ -57,11 +57,6 @@ namespace OpenQA.Selenium.BiDi.Communication.Json;
5757[ JsonSerializable ( typeof ( Modules . Script . RemoteValue . Node ) ) ]
5858[ JsonSerializable ( typeof ( Modules . Script . RemoteValue . WindowProxy ) ) ]
5959
60- [ JsonSerializable ( typeof ( Modules . Script . LocalValue . String ) , TypeInfoPropertyName = "Script_LocalValue_String" ) ]
61-
62- [ JsonSerializable ( typeof ( Modules . Script . Target . Realm ) , TypeInfoPropertyName = "Script_Target_Realm" ) ]
63- [ JsonSerializable ( typeof ( Modules . Script . Target . Context ) , TypeInfoPropertyName = "Script_Target_Context" ) ]
64-
6560[ JsonSerializable ( typeof ( Modules . Script . RealmInfo . Window ) ) ]
6661[ JsonSerializable ( typeof ( Modules . Script . RealmInfo . DedicatedWorker ) ) ]
6762[ JsonSerializable ( typeof ( Modules . Script . RealmInfo . SharedWorker ) ) ]
@@ -73,7 +68,7 @@ namespace OpenQA.Selenium.BiDi.Communication.Json;
7368
7469[ JsonSerializable ( typeof ( Modules . Log . Entry . Console ) ) ]
7570[ JsonSerializable ( typeof ( Modules . Log . Entry . Javascript ) ) ]
76- //
71+ #endregion
7772
7873[ JsonSerializable ( typeof ( Command ) ) ]
7974[ JsonSerializable ( typeof ( Message ) ) ]
@@ -110,6 +105,9 @@ namespace OpenQA.Selenium.BiDi.Communication.Json;
110105[ JsonSerializable ( typeof ( Modules . Network . AuthRequiredEventArgs ) ) ]
111106
112107[ JsonSerializable ( typeof ( Modules . Script . Channel ) , TypeInfoPropertyName = "Script_Channel" ) ]
108+ [ JsonSerializable ( typeof ( Modules . Script . LocalValue . String ) , TypeInfoPropertyName = "Script_LocalValue_String" ) ]
109+ [ JsonSerializable ( typeof ( Modules . Script . Target . Realm ) , TypeInfoPropertyName = "Script_Target_Realm" ) ]
110+ [ JsonSerializable ( typeof ( Modules . Script . Target . Context ) , TypeInfoPropertyName = "Script_Target_Context" ) ]
113111[ JsonSerializable ( typeof ( Modules . Script . AddPreloadScriptResult ) ) ]
114112[ JsonSerializable ( typeof ( Modules . Script . EvaluateResult ) ) ]
115113[ JsonSerializable ( typeof ( Modules . Script . GetRealmsResult ) ) ]
0 commit comments