@@ -73,31 +73,62 @@ namespace OpenQA.Selenium.BiDi.Communication.Json;
73
73
[ JsonSerializable ( typeof ( Command ) ) ]
74
74
[ JsonSerializable ( typeof ( Message ) ) ]
75
75
76
+ [ JsonSerializable ( typeof ( Modules . Session . StatusCommand ) ) ]
76
77
[ JsonSerializable ( typeof ( Modules . Session . StatusResult ) ) ]
78
+ [ JsonSerializable ( typeof ( Modules . Session . NewCommand ) ) ]
77
79
[ JsonSerializable ( typeof ( Modules . Session . NewResult ) ) ]
80
+ [ JsonSerializable ( typeof ( Modules . Session . EndCommand ) ) ]
81
+ [ JsonSerializable ( typeof ( Modules . Session . SubscribeCommand ) ) ]
82
+ [ JsonSerializable ( typeof ( Modules . Session . UnsubscribeCommand ) ) ]
78
83
79
84
[ JsonSerializable ( typeof ( Modules . Browser . CloseCommand ) , TypeInfoPropertyName = "Browser_CloseCommand" ) ]
85
+ [ JsonSerializable ( typeof ( Modules . Browser . CreateUserContextCommand ) ) ]
86
+ [ JsonSerializable ( typeof ( Modules . Browser . GetUserContextsCommand ) ) ]
80
87
[ JsonSerializable ( typeof ( Modules . Browser . GetUserContextsResult ) ) ]
88
+ [ JsonSerializable ( typeof ( Modules . Browser . RemoveUserContextCommand ) ) ]
89
+ [ JsonSerializable ( typeof ( Modules . Browser . UserContextInfo ) ) ]
81
90
[ JsonSerializable ( typeof ( IReadOnlyList < Modules . Browser . UserContextInfo > ) ) ]
82
91
92
+
93
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . ActivateCommand ) ) ]
94
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . CaptureScreenshotCommand ) ) ]
95
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . CaptureScreenshotResult ) ) ]
83
96
[ JsonSerializable ( typeof ( Modules . BrowsingContext . CloseCommand ) , TypeInfoPropertyName = "BrowsingContext_CloseCommand" ) ]
97
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . CreateCommand ) ) ]
84
98
[ JsonSerializable ( typeof ( Modules . BrowsingContext . CreateResult ) ) ]
85
- [ JsonSerializable ( typeof ( Modules . BrowsingContext . BrowsingContextInfo ) ) ]
86
- [ JsonSerializable ( typeof ( Modules . BrowsingContext . NavigateResult ) ) ]
87
- [ JsonSerializable ( typeof ( Modules . BrowsingContext . NavigationInfo ) ) ]
88
- [ JsonSerializable ( typeof ( Modules . BrowsingContext . TraverseHistoryResult ) ) ]
89
- [ JsonSerializable ( typeof ( Modules . BrowsingContext . LocateNodesResult ) ) ]
90
- [ JsonSerializable ( typeof ( Modules . BrowsingContext . CaptureScreenshotResult ) ) ]
99
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . GetTreeCommand ) ) ]
91
100
[ JsonSerializable ( typeof ( Modules . BrowsingContext . GetTreeResult ) ) ]
101
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . HandleUserPromptCommand ) ) ]
102
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . LocateNodesCommand ) ) ]
103
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . LocateNodesResult ) ) ]
104
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . NavigateCommand ) ) ]
105
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . NavigateResult ) ) ]
106
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . PrintCommand ) ) ]
92
107
[ JsonSerializable ( typeof ( Modules . BrowsingContext . PrintResult ) ) ]
108
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . ReloadCommand ) ) ]
109
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . SetViewportCommand ) ) ]
110
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . TraverseHistoryCommand ) ) ]
111
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . TraverseHistoryResult ) ) ]
112
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . BrowsingContextInfo ) ) ]
113
+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . NavigationInfo ) ) ]
114
+
93
115
[ JsonSerializable ( typeof ( Modules . BrowsingContext . UserPromptOpenedEventArgs ) ) ]
94
116
[ JsonSerializable ( typeof ( Modules . BrowsingContext . UserPromptClosedEventArgs ) ) ]
95
117
[ JsonSerializable ( typeof ( Modules . BrowsingContext . Origin ) , TypeInfoPropertyName = "BrowsingContext_Origin" ) ]
96
118
97
119
[ JsonSerializable ( typeof ( Modules . Network . BytesValue . String ) , TypeInfoPropertyName = "Network_BytesValue_String" ) ]
98
120
[ JsonSerializable ( typeof ( Modules . Network . UrlPattern . String ) , TypeInfoPropertyName = "Network_UrlPattern_String" ) ]
99
121
[ JsonSerializable ( typeof ( Modules . Network . ContinueWithAuthParameters . Default ) , TypeInfoPropertyName = "Network_ContinueWithAuthParameters_Default" ) ]
122
+ [ JsonSerializable ( typeof ( Modules . Network . AddInterceptCommand ) ) ]
100
123
[ JsonSerializable ( typeof ( Modules . Network . AddInterceptResult ) ) ]
124
+ [ JsonSerializable ( typeof ( Modules . Network . ContinueRequestCommand ) ) ]
125
+ [ JsonSerializable ( typeof ( Modules . Network . ContinueResponseCommand ) ) ]
126
+ [ JsonSerializable ( typeof ( Modules . Network . ContinueWithAuthCommand ) ) ]
127
+ [ JsonSerializable ( typeof ( Modules . Network . FailRequestCommand ) ) ]
128
+ [ JsonSerializable ( typeof ( Modules . Network . ProvideResponseCommand ) ) ]
129
+ [ JsonSerializable ( typeof ( Modules . Network . RemoveInterceptCommand ) ) ]
130
+ [ JsonSerializable ( typeof ( Modules . Network . SetCacheBehaviorCommand ) ) ]
131
+
101
132
[ JsonSerializable ( typeof ( Modules . Network . BeforeRequestSentEventArgs ) ) ]
102
133
[ JsonSerializable ( typeof ( Modules . Network . ResponseStartedEventArgs ) ) ]
103
134
[ JsonSerializable ( typeof ( Modules . Network . ResponseCompletedEventArgs ) ) ]
@@ -108,20 +139,32 @@ namespace OpenQA.Selenium.BiDi.Communication.Json;
108
139
[ JsonSerializable ( typeof ( Modules . Script . LocalValue . String ) , TypeInfoPropertyName = "Script_LocalValue_String" ) ]
109
140
[ JsonSerializable ( typeof ( Modules . Script . Target . Realm ) , TypeInfoPropertyName = "Script_Target_Realm" ) ]
110
141
[ JsonSerializable ( typeof ( Modules . Script . Target . Context ) , TypeInfoPropertyName = "Script_Target_Context" ) ]
142
+
143
+ [ JsonSerializable ( typeof ( Modules . Script . AddPreloadScriptCommand ) ) ]
111
144
[ JsonSerializable ( typeof ( Modules . Script . AddPreloadScriptResult ) ) ]
145
+ [ JsonSerializable ( typeof ( Modules . Script . DisownCommand ) ) ]
146
+ [ JsonSerializable ( typeof ( Modules . Script . CallFunctionCommand ) ) ]
147
+ [ JsonSerializable ( typeof ( Modules . Script . EvaluateCommand ) ) ]
112
148
[ JsonSerializable ( typeof ( Modules . Script . EvaluateResult ) ) ]
149
+ [ JsonSerializable ( typeof ( Modules . Script . GetRealmsCommand ) ) ]
113
150
[ JsonSerializable ( typeof ( Modules . Script . GetRealmsResult ) ) ]
151
+ [ JsonSerializable ( typeof ( Modules . Script . RemovePreloadScriptCommand ) ) ]
152
+
114
153
[ JsonSerializable ( typeof ( Modules . Script . MessageEventArgs ) ) ]
115
154
[ JsonSerializable ( typeof ( Modules . Script . RealmDestroyedEventArgs ) ) ]
116
155
[ JsonSerializable ( typeof ( IReadOnlyList < Modules . Script . RealmInfo > ) ) ]
117
156
118
157
[ JsonSerializable ( typeof ( Modules . Log . Entry ) ) ]
119
158
159
+ [ JsonSerializable ( typeof ( Modules . Storage . GetCookiesCommand ) ) ]
120
160
[ JsonSerializable ( typeof ( Modules . Storage . GetCookiesResult ) ) ]
121
- [ JsonSerializable ( typeof ( Modules . Storage . DeleteCookiesResult ) ) ]
161
+ [ JsonSerializable ( typeof ( Modules . Storage . SetCookieCommand ) ) ]
122
162
[ JsonSerializable ( typeof ( Modules . Storage . SetCookieResult ) ) ]
163
+ [ JsonSerializable ( typeof ( Modules . Storage . DeleteCookiesCommand ) ) ]
164
+ [ JsonSerializable ( typeof ( Modules . Storage . DeleteCookiesResult ) ) ]
123
165
124
166
[ JsonSerializable ( typeof ( Modules . Input . PerformActionsCommand ) ) ]
167
+ [ JsonSerializable ( typeof ( Modules . Input . ReleaseActionsCommand ) ) ]
125
168
[ JsonSerializable ( typeof ( Modules . Input . Pointer . Down ) , TypeInfoPropertyName = "Input_Pointer_Down" ) ]
126
169
[ JsonSerializable ( typeof ( Modules . Input . Pointer . Up ) , TypeInfoPropertyName = "Input_Pointer_Up" ) ]
127
170
[ JsonSerializable ( typeof ( Modules . Input . Pointer . Move ) , TypeInfoPropertyName = "Input_Pointer_Move" ) ]
0 commit comments