@@ -73,31 +73,62 @@ namespace OpenQA.Selenium.BiDi.Communication.Json;
7373[ JsonSerializable ( typeof ( Command ) ) ]
7474[ JsonSerializable ( typeof ( Message ) ) ]
7575
76+ [ JsonSerializable ( typeof ( Modules . Session . StatusCommand ) ) ]
7677[ JsonSerializable ( typeof ( Modules . Session . StatusResult ) ) ]
78+ [ JsonSerializable ( typeof ( Modules . Session . NewCommand ) ) ]
7779[ JsonSerializable ( typeof ( Modules . Session . NewResult ) ) ]
80+ [ JsonSerializable ( typeof ( Modules . Session . EndCommand ) ) ]
81+ [ JsonSerializable ( typeof ( Modules . Session . SubscribeCommand ) ) ]
82+ [ JsonSerializable ( typeof ( Modules . Session . UnsubscribeCommand ) ) ]
7883
7984[ JsonSerializable ( typeof ( Modules . Browser . CloseCommand ) , TypeInfoPropertyName = "Browser_CloseCommand" ) ]
85+ [ JsonSerializable ( typeof ( Modules . Browser . CreateUserContextCommand ) ) ]
86+ [ JsonSerializable ( typeof ( Modules . Browser . GetUserContextsCommand ) ) ]
8087[ JsonSerializable ( typeof ( Modules . Browser . GetUserContextsResult ) ) ]
88+ [ JsonSerializable ( typeof ( Modules . Browser . RemoveUserContextCommand ) ) ]
89+ [ JsonSerializable ( typeof ( Modules . Browser . UserContextInfo ) ) ]
8190[ JsonSerializable ( typeof ( IReadOnlyList < Modules . Browser . UserContextInfo > ) ) ]
8291
92+
93+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . ActivateCommand ) ) ]
94+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . CaptureScreenshotCommand ) ) ]
95+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . CaptureScreenshotResult ) ) ]
8396[ JsonSerializable ( typeof ( Modules . BrowsingContext . CloseCommand ) , TypeInfoPropertyName = "BrowsingContext_CloseCommand" ) ]
97+ [ JsonSerializable ( typeof ( Modules . BrowsingContext . CreateCommand ) ) ]
8498[ 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 ) ) ]
91100[ 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 ) ) ]
92107[ 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+
93115[ JsonSerializable ( typeof ( Modules . BrowsingContext . UserPromptOpenedEventArgs ) ) ]
94116[ JsonSerializable ( typeof ( Modules . BrowsingContext . UserPromptClosedEventArgs ) ) ]
95117[ JsonSerializable ( typeof ( Modules . BrowsingContext . Origin ) , TypeInfoPropertyName = "BrowsingContext_Origin" ) ]
96118
97119[ JsonSerializable ( typeof ( Modules . Network . BytesValue . String ) , TypeInfoPropertyName = "Network_BytesValue_String" ) ]
98120[ JsonSerializable ( typeof ( Modules . Network . UrlPattern . String ) , TypeInfoPropertyName = "Network_UrlPattern_String" ) ]
99121[ JsonSerializable ( typeof ( Modules . Network . ContinueWithAuthParameters . Default ) , TypeInfoPropertyName = "Network_ContinueWithAuthParameters_Default" ) ]
122+ [ JsonSerializable ( typeof ( Modules . Network . AddInterceptCommand ) ) ]
100123[ 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+
101132[ JsonSerializable ( typeof ( Modules . Network . BeforeRequestSentEventArgs ) ) ]
102133[ JsonSerializable ( typeof ( Modules . Network . ResponseStartedEventArgs ) ) ]
103134[ JsonSerializable ( typeof ( Modules . Network . ResponseCompletedEventArgs ) ) ]
@@ -108,20 +139,32 @@ namespace OpenQA.Selenium.BiDi.Communication.Json;
108139[ JsonSerializable ( typeof ( Modules . Script . LocalValue . String ) , TypeInfoPropertyName = "Script_LocalValue_String" ) ]
109140[ JsonSerializable ( typeof ( Modules . Script . Target . Realm ) , TypeInfoPropertyName = "Script_Target_Realm" ) ]
110141[ JsonSerializable ( typeof ( Modules . Script . Target . Context ) , TypeInfoPropertyName = "Script_Target_Context" ) ]
142+
143+ [ JsonSerializable ( typeof ( Modules . Script . AddPreloadScriptCommand ) ) ]
111144[ JsonSerializable ( typeof ( Modules . Script . AddPreloadScriptResult ) ) ]
145+ [ JsonSerializable ( typeof ( Modules . Script . DisownCommand ) ) ]
146+ [ JsonSerializable ( typeof ( Modules . Script . CallFunctionCommand ) ) ]
147+ [ JsonSerializable ( typeof ( Modules . Script . EvaluateCommand ) ) ]
112148[ JsonSerializable ( typeof ( Modules . Script . EvaluateResult ) ) ]
149+ [ JsonSerializable ( typeof ( Modules . Script . GetRealmsCommand ) ) ]
113150[ JsonSerializable ( typeof ( Modules . Script . GetRealmsResult ) ) ]
151+ [ JsonSerializable ( typeof ( Modules . Script . RemovePreloadScriptCommand ) ) ]
152+
114153[ JsonSerializable ( typeof ( Modules . Script . MessageEventArgs ) ) ]
115154[ JsonSerializable ( typeof ( Modules . Script . RealmDestroyedEventArgs ) ) ]
116155[ JsonSerializable ( typeof ( IReadOnlyList < Modules . Script . RealmInfo > ) ) ]
117156
118157[ JsonSerializable ( typeof ( Modules . Log . Entry ) ) ]
119158
159+ [ JsonSerializable ( typeof ( Modules . Storage . GetCookiesCommand ) ) ]
120160[ JsonSerializable ( typeof ( Modules . Storage . GetCookiesResult ) ) ]
121- [ JsonSerializable ( typeof ( Modules . Storage . DeleteCookiesResult ) ) ]
161+ [ JsonSerializable ( typeof ( Modules . Storage . SetCookieCommand ) ) ]
122162[ JsonSerializable ( typeof ( Modules . Storage . SetCookieResult ) ) ]
163+ [ JsonSerializable ( typeof ( Modules . Storage . DeleteCookiesCommand ) ) ]
164+ [ JsonSerializable ( typeof ( Modules . Storage . DeleteCookiesResult ) ) ]
123165
124166[ JsonSerializable ( typeof ( Modules . Input . PerformActionsCommand ) ) ]
167+ [ JsonSerializable ( typeof ( Modules . Input . ReleaseActionsCommand ) ) ]
125168[ JsonSerializable ( typeof ( Modules . Input . Pointer . Down ) , TypeInfoPropertyName = "Input_Pointer_Down" ) ]
126169[ JsonSerializable ( typeof ( Modules . Input . Pointer . Up ) , TypeInfoPropertyName = "Input_Pointer_Up" ) ]
127170[ JsonSerializable ( typeof ( Modules . Input . Pointer . Move ) , TypeInfoPropertyName = "Input_Pointer_Move" ) ]
0 commit comments