wrc-ts 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2189 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file wrc.proto.
6
+ */
7
+ export declare const file_wrc: GenFile;
8
+ /**
9
+ * @generated from message wrc.v2.Rect
10
+ */
11
+ export type Rect = Message<"wrc.v2.Rect"> & {
12
+ /**
13
+ * @generated from field: double x = 1;
14
+ */
15
+ x: number;
16
+ /**
17
+ * @generated from field: double y = 2;
18
+ */
19
+ y: number;
20
+ /**
21
+ * @generated from field: double width = 3;
22
+ */
23
+ width: number;
24
+ /**
25
+ * @generated from field: double height = 4;
26
+ */
27
+ height: number;
28
+ };
29
+ /**
30
+ * Describes the message wrc.v2.Rect.
31
+ * Use `create(RectSchema)` to create a new message.
32
+ */
33
+ export declare const RectSchema: GenMessage<Rect>;
34
+ /**
35
+ * @generated from message wrc.v2.FrameInfo
36
+ */
37
+ export type FrameInfo = Message<"wrc.v2.FrameInfo"> & {
38
+ /**
39
+ * @generated from field: string frame_id = 1;
40
+ */
41
+ frameId: string;
42
+ /**
43
+ * @generated from field: string url = 2;
44
+ */
45
+ url: string;
46
+ /**
47
+ * @generated from field: bool is_oopif = 3;
48
+ */
49
+ isOopif: boolean;
50
+ /**
51
+ * @generated from field: bool has_js_context = 4;
52
+ */
53
+ hasJsContext: boolean;
54
+ /**
55
+ * @generated from field: bool is_loading = 5;
56
+ */
57
+ isLoading: boolean;
58
+ /**
59
+ * @generated from field: bool is_visible = 6;
60
+ */
61
+ isVisible: boolean;
62
+ /**
63
+ * @generated from field: wrc.v2.Rect absolute_rect = 7;
64
+ */
65
+ absoluteRect?: Rect;
66
+ /**
67
+ * @generated from field: wrc.v2.Rect relative_rect = 8;
68
+ */
69
+ relativeRect?: Rect;
70
+ /**
71
+ * @generated from field: repeated wrc.v2.FrameInfo children = 9;
72
+ */
73
+ children: FrameInfo[];
74
+ };
75
+ /**
76
+ * Describes the message wrc.v2.FrameInfo.
77
+ * Use `create(FrameInfoSchema)` to create a new message.
78
+ */
79
+ export declare const FrameInfoSchema: GenMessage<FrameInfo>;
80
+ /**
81
+ * @generated from message wrc.v2.PageInfo
82
+ */
83
+ export type PageInfo = Message<"wrc.v2.PageInfo"> & {
84
+ /**
85
+ * @generated from field: string page_id = 1;
86
+ */
87
+ pageId: string;
88
+ /**
89
+ * @generated from field: string browser_context_id = 2;
90
+ */
91
+ browserContextId: string;
92
+ /**
93
+ * @generated from field: string url = 3;
94
+ */
95
+ url: string;
96
+ /**
97
+ * @generated from field: string title = 4;
98
+ */
99
+ title: string;
100
+ /**
101
+ * @generated from field: wrc.v2.Rect viewport = 5;
102
+ */
103
+ viewport?: Rect;
104
+ /**
105
+ * @generated from field: wrc.v2.FrameInfo frame_tree = 6;
106
+ */
107
+ frameTree?: FrameInfo;
108
+ };
109
+ /**
110
+ * Describes the message wrc.v2.PageInfo.
111
+ * Use `create(PageInfoSchema)` to create a new message.
112
+ */
113
+ export declare const PageInfoSchema: GenMessage<PageInfo>;
114
+ /**
115
+ * @generated from message wrc.v2.Header
116
+ */
117
+ export type Header = Message<"wrc.v2.Header"> & {
118
+ /**
119
+ * @generated from field: string name = 1;
120
+ */
121
+ name: string;
122
+ /**
123
+ * @generated from field: string value = 2;
124
+ */
125
+ value: string;
126
+ };
127
+ /**
128
+ * Describes the message wrc.v2.Header.
129
+ * Use `create(HeaderSchema)` to create a new message.
130
+ */
131
+ export declare const HeaderSchema: GenMessage<Header>;
132
+ /**
133
+ * @generated from message wrc.v2.InterceptedRequest
134
+ */
135
+ export type InterceptedRequest = Message<"wrc.v2.InterceptedRequest"> & {
136
+ /**
137
+ * @generated from field: string method = 1;
138
+ */
139
+ method: string;
140
+ /**
141
+ * @generated from field: string url = 2;
142
+ */
143
+ url: string;
144
+ /**
145
+ * @generated from field: repeated wrc.v2.Header headers = 3;
146
+ */
147
+ headers: Header[];
148
+ /**
149
+ * @generated from field: string body = 4;
150
+ */
151
+ body: string;
152
+ /**
153
+ * @generated from field: string resource_type = 5;
154
+ */
155
+ resourceType: string;
156
+ };
157
+ /**
158
+ * Describes the message wrc.v2.InterceptedRequest.
159
+ * Use `create(InterceptedRequestSchema)` to create a new message.
160
+ */
161
+ export declare const InterceptedRequestSchema: GenMessage<InterceptedRequest>;
162
+ /**
163
+ * @generated from message wrc.v2.InterceptedResponse
164
+ */
165
+ export type InterceptedResponse = Message<"wrc.v2.InterceptedResponse"> & {
166
+ /**
167
+ * @generated from field: string url = 1;
168
+ */
169
+ url: string;
170
+ /**
171
+ * @generated from field: int32 status_code = 2;
172
+ */
173
+ statusCode: number;
174
+ /**
175
+ * @generated from field: repeated wrc.v2.Header headers = 3;
176
+ */
177
+ headers: Header[];
178
+ /**
179
+ * @generated from field: string body = 4;
180
+ */
181
+ body: string;
182
+ };
183
+ /**
184
+ * Describes the message wrc.v2.InterceptedResponse.
185
+ * Use `create(InterceptedResponseSchema)` to create a new message.
186
+ */
187
+ export declare const InterceptedResponseSchema: GenMessage<InterceptedResponse>;
188
+ /**
189
+ * @generated from message wrc.v2.HeaderModification
190
+ */
191
+ export type HeaderModification = Message<"wrc.v2.HeaderModification"> & {
192
+ /**
193
+ * @generated from field: string name = 1;
194
+ */
195
+ name: string;
196
+ /**
197
+ * @generated from field: optional string value = 2;
198
+ */
199
+ value?: string;
200
+ /**
201
+ * "add" | "edit" | "remove"
202
+ *
203
+ * @generated from field: string action = 3;
204
+ */
205
+ action: string;
206
+ /**
207
+ * @generated from field: optional string before = 4;
208
+ */
209
+ before?: string;
210
+ /**
211
+ * @generated from field: optional string after = 5;
212
+ */
213
+ after?: string;
214
+ };
215
+ /**
216
+ * Describes the message wrc.v2.HeaderModification.
217
+ * Use `create(HeaderModificationSchema)` to create a new message.
218
+ */
219
+ export declare const HeaderModificationSchema: GenMessage<HeaderModification>;
220
+ /**
221
+ * @generated from message wrc.v2.CookiePartitionKey
222
+ */
223
+ export type CookiePartitionKey = Message<"wrc.v2.CookiePartitionKey"> & {
224
+ /**
225
+ * @generated from field: string top_level_site = 1;
226
+ */
227
+ topLevelSite: string;
228
+ /**
229
+ * @generated from field: bool has_cross_site_ancestor = 2;
230
+ */
231
+ hasCrossSiteAncestor: boolean;
232
+ };
233
+ /**
234
+ * Describes the message wrc.v2.CookiePartitionKey.
235
+ * Use `create(CookiePartitionKeySchema)` to create a new message.
236
+ */
237
+ export declare const CookiePartitionKeySchema: GenMessage<CookiePartitionKey>;
238
+ /**
239
+ * @generated from message wrc.v2.CookieParam
240
+ */
241
+ export type CookieParam = Message<"wrc.v2.CookieParam"> & {
242
+ /**
243
+ * @generated from field: string name = 1;
244
+ */
245
+ name: string;
246
+ /**
247
+ * @generated from field: string value = 2;
248
+ */
249
+ value: string;
250
+ /**
251
+ * @generated from field: optional string url = 3;
252
+ */
253
+ url?: string;
254
+ /**
255
+ * @generated from field: string domain = 4;
256
+ */
257
+ domain: string;
258
+ /**
259
+ * @generated from field: string path = 5;
260
+ */
261
+ path: string;
262
+ /**
263
+ * @generated from field: optional bool secure = 6;
264
+ */
265
+ secure?: boolean;
266
+ /**
267
+ * @generated from field: optional bool http_only = 7;
268
+ */
269
+ httpOnly?: boolean;
270
+ /**
271
+ * @generated from field: optional string same_site = 8;
272
+ */
273
+ sameSite?: string;
274
+ /**
275
+ * @generated from field: optional double expires = 9;
276
+ */
277
+ expires?: number;
278
+ /**
279
+ * @generated from field: optional string priority = 10;
280
+ */
281
+ priority?: string;
282
+ /**
283
+ * @generated from field: optional string source_scheme = 11;
284
+ */
285
+ sourceScheme?: string;
286
+ /**
287
+ * @generated from field: optional int32 source_port = 12;
288
+ */
289
+ sourcePort?: number;
290
+ /**
291
+ * @generated from field: optional wrc.v2.CookiePartitionKey partition_key = 13;
292
+ */
293
+ partitionKey?: CookiePartitionKey;
294
+ };
295
+ /**
296
+ * Describes the message wrc.v2.CookieParam.
297
+ * Use `create(CookieParamSchema)` to create a new message.
298
+ */
299
+ export declare const CookieParamSchema: GenMessage<CookieParam>;
300
+ /**
301
+ * Exactly one of `selector` or `js_expression` must be set per condition.
302
+ *
303
+ * @generated from message wrc.v2.WaitCondition
304
+ */
305
+ export type WaitCondition = Message<"wrc.v2.WaitCondition"> & {
306
+ /**
307
+ * @generated from field: optional string selector = 1;
308
+ */
309
+ selector?: string;
310
+ /**
311
+ * @generated from field: optional string js_expression = 2;
312
+ */
313
+ jsExpression?: string;
314
+ /**
315
+ * @generated from field: optional bool visible = 3;
316
+ */
317
+ visible?: boolean;
318
+ /**
319
+ * @generated from field: optional double steady_time = 4;
320
+ */
321
+ steadyTime?: number;
322
+ };
323
+ /**
324
+ * Describes the message wrc.v2.WaitCondition.
325
+ * Use `create(WaitConditionSchema)` to create a new message.
326
+ */
327
+ export declare const WaitConditionSchema: GenMessage<WaitCondition>;
328
+ /**
329
+ * @generated from message wrc.v2.WaitResult
330
+ */
331
+ export type WaitResult = Message<"wrc.v2.WaitResult"> & {
332
+ /**
333
+ * @generated from field: int32 index = 1;
334
+ */
335
+ index: number;
336
+ /**
337
+ * @generated from field: string frame_id = 2;
338
+ */
339
+ frameId: string;
340
+ /**
341
+ * @generated from field: int32 backend_node_id = 3;
342
+ */
343
+ backendNodeId: number;
344
+ /**
345
+ * @generated from field: bool is_visible = 4;
346
+ */
347
+ isVisible: boolean;
348
+ /**
349
+ * @generated from field: wrc.v2.Rect bounds = 5;
350
+ */
351
+ bounds?: Rect;
352
+ };
353
+ /**
354
+ * Describes the message wrc.v2.WaitResult.
355
+ * Use `create(WaitResultSchema)` to create a new message.
356
+ */
357
+ export declare const WaitResultSchema: GenMessage<WaitResult>;
358
+ /**
359
+ * @generated from message wrc.v2.ElementResult
360
+ */
361
+ export type ElementResult = Message<"wrc.v2.ElementResult"> & {
362
+ /**
363
+ * @generated from field: bool success = 1;
364
+ */
365
+ success: boolean;
366
+ /**
367
+ * @generated from field: string frame_id = 2;
368
+ */
369
+ frameId: string;
370
+ /**
371
+ * @generated from field: int32 backend_node_id = 3;
372
+ */
373
+ backendNodeId: number;
374
+ /**
375
+ * @generated from field: bool is_visible = 4;
376
+ */
377
+ isVisible: boolean;
378
+ /**
379
+ * @generated from field: wrc.v2.Rect bounds = 5;
380
+ */
381
+ bounds?: Rect;
382
+ /**
383
+ * @generated from field: double root_x = 6;
384
+ */
385
+ rootX: number;
386
+ /**
387
+ * @generated from field: double root_y = 7;
388
+ */
389
+ rootY: number;
390
+ };
391
+ /**
392
+ * Describes the message wrc.v2.ElementResult.
393
+ * Use `create(ElementResultSchema)` to create a new message.
394
+ */
395
+ export declare const ElementResultSchema: GenMessage<ElementResult>;
396
+ /**
397
+ * @generated from message wrc.v2.DragResult
398
+ */
399
+ export type DragResult = Message<"wrc.v2.DragResult"> & {
400
+ /**
401
+ * @generated from field: bool success = 1;
402
+ */
403
+ success: boolean;
404
+ /**
405
+ * @generated from field: string frame_id = 2;
406
+ */
407
+ frameId: string;
408
+ /**
409
+ * @generated from field: int32 backend_node_id = 3;
410
+ */
411
+ backendNodeId: number;
412
+ /**
413
+ * @generated from field: double start_x = 4;
414
+ */
415
+ startX: number;
416
+ /**
417
+ * @generated from field: double start_y = 5;
418
+ */
419
+ startY: number;
420
+ /**
421
+ * @generated from field: double end_x = 6;
422
+ */
423
+ endX: number;
424
+ /**
425
+ * @generated from field: double end_y = 7;
426
+ */
427
+ endY: number;
428
+ };
429
+ /**
430
+ * Describes the message wrc.v2.DragResult.
431
+ * Use `create(DragResultSchema)` to create a new message.
432
+ */
433
+ export declare const DragResultSchema: GenMessage<DragResult>;
434
+ /**
435
+ * @generated from message wrc.v2.SelectOptionResult
436
+ */
437
+ export type SelectOptionResult = Message<"wrc.v2.SelectOptionResult"> & {
438
+ /**
439
+ * @generated from field: int32 selected_index = 1;
440
+ */
441
+ selectedIndex: number;
442
+ /**
443
+ * @generated from field: string selected_value = 2;
444
+ */
445
+ selectedValue: string;
446
+ /**
447
+ * @generated from field: string selected_text = 3;
448
+ */
449
+ selectedText: string;
450
+ };
451
+ /**
452
+ * Describes the message wrc.v2.SelectOptionResult.
453
+ * Use `create(SelectOptionResultSchema)` to create a new message.
454
+ */
455
+ export declare const SelectOptionResultSchema: GenMessage<SelectOptionResult>;
456
+ /**
457
+ * @generated from message wrc.v2.SetProxyRequest
458
+ */
459
+ export type SetProxyRequest = Message<"wrc.v2.SetProxyRequest"> & {
460
+ /**
461
+ * @generated from field: string session_id = 1;
462
+ */
463
+ sessionId: string;
464
+ /**
465
+ * @generated from field: string api_key = 2;
466
+ */
467
+ apiKey: string;
468
+ /**
469
+ * Empty/omitted = clear the proxy.
470
+ *
471
+ * @generated from field: optional string proxy_host = 3;
472
+ */
473
+ proxyHost?: string;
474
+ /**
475
+ * @generated from field: optional int32 proxy_port = 4;
476
+ */
477
+ proxyPort?: number;
478
+ /**
479
+ * @generated from field: optional string proxy_username = 5;
480
+ */
481
+ proxyUsername?: string;
482
+ /**
483
+ * @generated from field: optional string proxy_password = 6;
484
+ */
485
+ proxyPassword?: string;
486
+ };
487
+ /**
488
+ * Describes the message wrc.v2.SetProxyRequest.
489
+ * Use `create(SetProxyRequestSchema)` to create a new message.
490
+ */
491
+ export declare const SetProxyRequestSchema: GenMessage<SetProxyRequest>;
492
+ /**
493
+ * @generated from message wrc.v2.GetPagesRequest
494
+ */
495
+ export type GetPagesRequest = Message<"wrc.v2.GetPagesRequest"> & {
496
+ /**
497
+ * @generated from field: string session_id = 1;
498
+ */
499
+ sessionId: string;
500
+ /**
501
+ * @generated from field: string api_key = 2;
502
+ */
503
+ apiKey: string;
504
+ };
505
+ /**
506
+ * Describes the message wrc.v2.GetPagesRequest.
507
+ * Use `create(GetPagesRequestSchema)` to create a new message.
508
+ */
509
+ export declare const GetPagesRequestSchema: GenMessage<GetPagesRequest>;
510
+ /**
511
+ * @generated from message wrc.v2.GetPagesResponse
512
+ */
513
+ export type GetPagesResponse = Message<"wrc.v2.GetPagesResponse"> & {
514
+ /**
515
+ * @generated from field: repeated wrc.v2.PageInfo pages = 1;
516
+ */
517
+ pages: PageInfo[];
518
+ };
519
+ /**
520
+ * Describes the message wrc.v2.GetPagesResponse.
521
+ * Use `create(GetPagesResponseSchema)` to create a new message.
522
+ */
523
+ export declare const GetPagesResponseSchema: GenMessage<GetPagesResponse>;
524
+ /**
525
+ * @generated from message wrc.v2.NavigateRequest
526
+ */
527
+ export type NavigateRequest = Message<"wrc.v2.NavigateRequest"> & {
528
+ /**
529
+ * @generated from field: string session_id = 1;
530
+ */
531
+ sessionId: string;
532
+ /**
533
+ * @generated from field: string api_key = 2;
534
+ */
535
+ apiKey: string;
536
+ /**
537
+ * @generated from field: string page_id = 3;
538
+ */
539
+ pageId: string;
540
+ /**
541
+ * @generated from field: string url = 4;
542
+ */
543
+ url: string;
544
+ /**
545
+ * @generated from field: optional string referrer = 5;
546
+ */
547
+ referrer?: string;
548
+ /**
549
+ * @generated from field: optional double timeout = 6;
550
+ */
551
+ timeout?: number;
552
+ };
553
+ /**
554
+ * Describes the message wrc.v2.NavigateRequest.
555
+ * Use `create(NavigateRequestSchema)` to create a new message.
556
+ */
557
+ export declare const NavigateRequestSchema: GenMessage<NavigateRequest>;
558
+ /**
559
+ * @generated from message wrc.v2.NavigateResponse
560
+ */
561
+ export type NavigateResponse = Message<"wrc.v2.NavigateResponse"> & {
562
+ /**
563
+ * @generated from field: string frame_id = 1;
564
+ */
565
+ frameId: string;
566
+ /**
567
+ * @generated from field: string url = 2;
568
+ */
569
+ url: string;
570
+ };
571
+ /**
572
+ * Describes the message wrc.v2.NavigateResponse.
573
+ * Use `create(NavigateResponseSchema)` to create a new message.
574
+ */
575
+ export declare const NavigateResponseSchema: GenMessage<NavigateResponse>;
576
+ /**
577
+ * @generated from message wrc.v2.LoadHTMLRequest
578
+ */
579
+ export type LoadHTMLRequest = Message<"wrc.v2.LoadHTMLRequest"> & {
580
+ /**
581
+ * @generated from field: string session_id = 1;
582
+ */
583
+ sessionId: string;
584
+ /**
585
+ * @generated from field: string api_key = 2;
586
+ */
587
+ apiKey: string;
588
+ /**
589
+ * @generated from field: string page_id = 3;
590
+ */
591
+ pageId: string;
592
+ /**
593
+ * @generated from field: string url = 4;
594
+ */
595
+ url: string;
596
+ /**
597
+ * @generated from field: string html = 5;
598
+ */
599
+ html: string;
600
+ /**
601
+ * @generated from field: repeated wrc.v2.Header headers = 6;
602
+ */
603
+ headers: Header[];
604
+ /**
605
+ * @generated from field: optional int32 status_code = 7;
606
+ */
607
+ statusCode?: number;
608
+ };
609
+ /**
610
+ * Describes the message wrc.v2.LoadHTMLRequest.
611
+ * Use `create(LoadHTMLRequestSchema)` to create a new message.
612
+ */
613
+ export declare const LoadHTMLRequestSchema: GenMessage<LoadHTMLRequest>;
614
+ /**
615
+ * @generated from message wrc.v2.EvaluateRequest
616
+ */
617
+ export type EvaluateRequest = Message<"wrc.v2.EvaluateRequest"> & {
618
+ /**
619
+ * @generated from field: string session_id = 1;
620
+ */
621
+ sessionId: string;
622
+ /**
623
+ * @generated from field: string api_key = 2;
624
+ */
625
+ apiKey: string;
626
+ /**
627
+ * @generated from field: string page_id = 3;
628
+ */
629
+ pageId: string;
630
+ /**
631
+ * @generated from field: string expression = 4;
632
+ */
633
+ expression: string;
634
+ /**
635
+ * Specific frameId or empty/omitted for main frame.
636
+ * ALL_FRAMES is not supported here.
637
+ *
638
+ * @generated from field: optional string frame_id = 5;
639
+ */
640
+ frameId?: string;
641
+ };
642
+ /**
643
+ * Describes the message wrc.v2.EvaluateRequest.
644
+ * Use `create(EvaluateRequestSchema)` to create a new message.
645
+ */
646
+ export declare const EvaluateRequestSchema: GenMessage<EvaluateRequest>;
647
+ /**
648
+ * @generated from message wrc.v2.EvaluateResponse
649
+ */
650
+ export type EvaluateResponse = Message<"wrc.v2.EvaluateResponse"> & {
651
+ /**
652
+ * JSON-serialized result. Empty for DOM elements or unserializable values.
653
+ *
654
+ * @generated from field: string result = 1;
655
+ */
656
+ result: string;
657
+ /**
658
+ * Non-zero if the expression returned a DOM element.
659
+ *
660
+ * @generated from field: int32 backend_node_id = 2;
661
+ */
662
+ backendNodeId: number;
663
+ /**
664
+ * @generated from field: bool is_visible = 3;
665
+ */
666
+ isVisible: boolean;
667
+ /**
668
+ * @generated from field: wrc.v2.Rect bounds = 4;
669
+ */
670
+ bounds?: Rect;
671
+ };
672
+ /**
673
+ * Describes the message wrc.v2.EvaluateResponse.
674
+ * Use `create(EvaluateResponseSchema)` to create a new message.
675
+ */
676
+ export declare const EvaluateResponseSchema: GenMessage<EvaluateResponse>;
677
+ /**
678
+ * Note: named "WaitForAnyParams" instead of "WaitForAnyRequest" to avoid
679
+ * colliding with the rpc method name "WaitForAnyRequest" (network intercept).
680
+ *
681
+ * @generated from message wrc.v2.WaitForAnyParams
682
+ */
683
+ export type WaitForAnyParams = Message<"wrc.v2.WaitForAnyParams"> & {
684
+ /**
685
+ * @generated from field: string session_id = 1;
686
+ */
687
+ sessionId: string;
688
+ /**
689
+ * @generated from field: string api_key = 2;
690
+ */
691
+ apiKey: string;
692
+ /**
693
+ * @generated from field: string page_id = 3;
694
+ */
695
+ pageId: string;
696
+ /**
697
+ * @generated from field: repeated wrc.v2.WaitCondition conditions = 4;
698
+ */
699
+ conditions: WaitCondition[];
700
+ /**
701
+ * Specific frameId, empty/omitted for main frame, or "ALL_FRAMES".
702
+ *
703
+ * @generated from field: optional string frame_id = 5;
704
+ */
705
+ frameId?: string;
706
+ /**
707
+ * @generated from field: optional double timeout = 6;
708
+ */
709
+ timeout?: number;
710
+ };
711
+ /**
712
+ * Describes the message wrc.v2.WaitForAnyParams.
713
+ * Use `create(WaitForAnyParamsSchema)` to create a new message.
714
+ */
715
+ export declare const WaitForAnyParamsSchema: GenMessage<WaitForAnyParams>;
716
+ /**
717
+ * @generated from message wrc.v2.SelectOptionRequest
718
+ */
719
+ export type SelectOptionRequest = Message<"wrc.v2.SelectOptionRequest"> & {
720
+ /**
721
+ * @generated from field: string session_id = 1;
722
+ */
723
+ sessionId: string;
724
+ /**
725
+ * @generated from field: string api_key = 2;
726
+ */
727
+ apiKey: string;
728
+ /**
729
+ * @generated from field: string page_id = 3;
730
+ */
731
+ pageId: string;
732
+ /**
733
+ * @generated from field: optional int32 backend_node_id = 4;
734
+ */
735
+ backendNodeId?: number;
736
+ /**
737
+ * @generated from field: optional string selector = 5;
738
+ */
739
+ selector?: string;
740
+ /**
741
+ * @generated from field: optional string js_expression = 6;
742
+ */
743
+ jsExpression?: string;
744
+ /**
745
+ * Specific frameId, empty/omitted for main frame, or "ALL_FRAMES".
746
+ *
747
+ * @generated from field: optional string frame_id = 7;
748
+ */
749
+ frameId?: string;
750
+ /**
751
+ * Exactly one of index / value / text must be set.
752
+ *
753
+ * @generated from field: optional int32 index = 8;
754
+ */
755
+ index?: number;
756
+ /**
757
+ * @generated from field: optional string value = 9;
758
+ */
759
+ value?: string;
760
+ /**
761
+ * @generated from field: optional string text = 10;
762
+ */
763
+ text?: string;
764
+ /**
765
+ * Fire input + change events. Default true.
766
+ *
767
+ * @generated from field: optional bool fire_events = 11;
768
+ */
769
+ fireEvents?: boolean;
770
+ };
771
+ /**
772
+ * Describes the message wrc.v2.SelectOptionRequest.
773
+ * Use `create(SelectOptionRequestSchema)` to create a new message.
774
+ */
775
+ export declare const SelectOptionRequestSchema: GenMessage<SelectOptionRequest>;
776
+ /**
777
+ * @generated from message wrc.v2.ScrollToRequest
778
+ */
779
+ export type ScrollToRequest = Message<"wrc.v2.ScrollToRequest"> & {
780
+ /**
781
+ * @generated from field: string session_id = 1;
782
+ */
783
+ sessionId: string;
784
+ /**
785
+ * @generated from field: string api_key = 2;
786
+ */
787
+ apiKey: string;
788
+ /**
789
+ * @generated from field: string page_id = 3;
790
+ */
791
+ pageId: string;
792
+ /**
793
+ * @generated from field: optional int32 backend_node_id = 4;
794
+ */
795
+ backendNodeId?: number;
796
+ /**
797
+ * @generated from field: optional string selector = 5;
798
+ */
799
+ selector?: string;
800
+ /**
801
+ * @generated from field: optional string js_expression = 6;
802
+ */
803
+ jsExpression?: string;
804
+ /**
805
+ * @generated from field: optional string frame_id = 7;
806
+ */
807
+ frameId?: string;
808
+ };
809
+ /**
810
+ * Describes the message wrc.v2.ScrollToRequest.
811
+ * Use `create(ScrollToRequestSchema)` to create a new message.
812
+ */
813
+ export declare const ScrollToRequestSchema: GenMessage<ScrollToRequest>;
814
+ /**
815
+ * @generated from message wrc.v2.MoveToRequest
816
+ */
817
+ export type MoveToRequest = Message<"wrc.v2.MoveToRequest"> & {
818
+ /**
819
+ * @generated from field: string session_id = 1;
820
+ */
821
+ sessionId: string;
822
+ /**
823
+ * @generated from field: string api_key = 2;
824
+ */
825
+ apiKey: string;
826
+ /**
827
+ * @generated from field: string page_id = 3;
828
+ */
829
+ pageId: string;
830
+ /**
831
+ * @generated from field: optional int32 backend_node_id = 4;
832
+ */
833
+ backendNodeId?: number;
834
+ /**
835
+ * @generated from field: optional string selector = 5;
836
+ */
837
+ selector?: string;
838
+ /**
839
+ * @generated from field: optional string js_expression = 6;
840
+ */
841
+ jsExpression?: string;
842
+ /**
843
+ * @generated from field: optional string frame_id = 7;
844
+ */
845
+ frameId?: string;
846
+ /**
847
+ * Use instead of element locators.
848
+ *
849
+ * @generated from field: optional double x = 8;
850
+ */
851
+ x?: number;
852
+ /**
853
+ * @generated from field: optional double y = 9;
854
+ */
855
+ y?: number;
856
+ };
857
+ /**
858
+ * Describes the message wrc.v2.MoveToRequest.
859
+ * Use `create(MoveToRequestSchema)` to create a new message.
860
+ */
861
+ export declare const MoveToRequestSchema: GenMessage<MoveToRequest>;
862
+ /**
863
+ * @generated from message wrc.v2.ClickRequest
864
+ */
865
+ export type ClickRequest = Message<"wrc.v2.ClickRequest"> & {
866
+ /**
867
+ * @generated from field: string session_id = 1;
868
+ */
869
+ sessionId: string;
870
+ /**
871
+ * @generated from field: string api_key = 2;
872
+ */
873
+ apiKey: string;
874
+ /**
875
+ * @generated from field: string page_id = 3;
876
+ */
877
+ pageId: string;
878
+ /**
879
+ * @generated from field: optional int32 backend_node_id = 4;
880
+ */
881
+ backendNodeId?: number;
882
+ /**
883
+ * @generated from field: optional string selector = 5;
884
+ */
885
+ selector?: string;
886
+ /**
887
+ * @generated from field: optional string js_expression = 6;
888
+ */
889
+ jsExpression?: string;
890
+ /**
891
+ * @generated from field: optional string frame_id = 7;
892
+ */
893
+ frameId?: string;
894
+ /**
895
+ * "left" (default), "right", or "middle".
896
+ *
897
+ * @generated from field: optional string button = 8;
898
+ */
899
+ button?: string;
900
+ /**
901
+ * 1 = single click (default), 2 = double click.
902
+ *
903
+ * @generated from field: optional int32 click_count = 9;
904
+ */
905
+ clickCount?: number;
906
+ /**
907
+ * Use instead of element locators.
908
+ *
909
+ * @generated from field: optional double x = 10;
910
+ */
911
+ x?: number;
912
+ /**
913
+ * @generated from field: optional double y = 11;
914
+ */
915
+ y?: number;
916
+ /**
917
+ * "click" (default), "press" (mouseDown only), "release" (mouseUp only).
918
+ *
919
+ * @generated from field: optional string action = 12;
920
+ */
921
+ action?: string;
922
+ };
923
+ /**
924
+ * Describes the message wrc.v2.ClickRequest.
925
+ * Use `create(ClickRequestSchema)` to create a new message.
926
+ */
927
+ export declare const ClickRequestSchema: GenMessage<ClickRequest>;
928
+ /**
929
+ * @generated from message wrc.v2.DragRequest
930
+ */
931
+ export type DragRequest = Message<"wrc.v2.DragRequest"> & {
932
+ /**
933
+ * @generated from field: string session_id = 1;
934
+ */
935
+ sessionId: string;
936
+ /**
937
+ * @generated from field: string api_key = 2;
938
+ */
939
+ apiKey: string;
940
+ /**
941
+ * @generated from field: string page_id = 3;
942
+ */
943
+ pageId: string;
944
+ /**
945
+ * @generated from field: optional int32 backend_node_id = 4;
946
+ */
947
+ backendNodeId?: number;
948
+ /**
949
+ * @generated from field: optional string selector = 5;
950
+ */
951
+ selector?: string;
952
+ /**
953
+ * @generated from field: optional string js_expression = 6;
954
+ */
955
+ jsExpression?: string;
956
+ /**
957
+ * @generated from field: optional string frame_id = 7;
958
+ */
959
+ frameId?: string;
960
+ /**
961
+ * Offset from pickup point OR absolute root-viewport coordinates.
962
+ *
963
+ * @generated from field: optional double offset_x = 8;
964
+ */
965
+ offsetX?: number;
966
+ /**
967
+ * @generated from field: optional double offset_y = 9;
968
+ */
969
+ offsetY?: number;
970
+ /**
971
+ * @generated from field: optional double absolute_x = 10;
972
+ */
973
+ absoluteX?: number;
974
+ /**
975
+ * @generated from field: optional double absolute_y = 11;
976
+ */
977
+ absoluteY?: number;
978
+ };
979
+ /**
980
+ * Describes the message wrc.v2.DragRequest.
981
+ * Use `create(DragRequestSchema)` to create a new message.
982
+ */
983
+ export declare const DragRequestSchema: GenMessage<DragRequest>;
984
+ /**
985
+ * @generated from message wrc.v2.FillRequest
986
+ */
987
+ export type FillRequest = Message<"wrc.v2.FillRequest"> & {
988
+ /**
989
+ * @generated from field: string session_id = 1;
990
+ */
991
+ sessionId: string;
992
+ /**
993
+ * @generated from field: string api_key = 2;
994
+ */
995
+ apiKey: string;
996
+ /**
997
+ * @generated from field: string page_id = 3;
998
+ */
999
+ pageId: string;
1000
+ /**
1001
+ * @generated from field: optional int32 backend_node_id = 4;
1002
+ */
1003
+ backendNodeId?: number;
1004
+ /**
1005
+ * @generated from field: optional string selector = 5;
1006
+ */
1007
+ selector?: string;
1008
+ /**
1009
+ * @generated from field: optional string js_expression = 6;
1010
+ */
1011
+ jsExpression?: string;
1012
+ /**
1013
+ * @generated from field: optional string frame_id = 7;
1014
+ */
1015
+ frameId?: string;
1016
+ /**
1017
+ * @generated from field: string text = 8;
1018
+ */
1019
+ text: string;
1020
+ /**
1021
+ * Clear existing content (Ctrl+A, Delete) before typing. Default false,
1022
+ * so Fill appends to whatever is already in the field unless this is set.
1023
+ *
1024
+ * @generated from field: optional bool clear_first = 9;
1025
+ */
1026
+ clearFirst?: boolean;
1027
+ };
1028
+ /**
1029
+ * Describes the message wrc.v2.FillRequest.
1030
+ * Use `create(FillRequestSchema)` to create a new message.
1031
+ */
1032
+ export declare const FillRequestSchema: GenMessage<FillRequest>;
1033
+ /**
1034
+ * @generated from message wrc.v2.SetBlockListRequest
1035
+ */
1036
+ export type SetBlockListRequest = Message<"wrc.v2.SetBlockListRequest"> & {
1037
+ /**
1038
+ * @generated from field: string session_id = 1;
1039
+ */
1040
+ sessionId: string;
1041
+ /**
1042
+ * @generated from field: string api_key = 2;
1043
+ */
1044
+ apiKey: string;
1045
+ /**
1046
+ * URL wildcard patterns to block. Empty list clears the blocklist.
1047
+ *
1048
+ * @generated from field: repeated string patterns = 3;
1049
+ */
1050
+ patterns: string[];
1051
+ };
1052
+ /**
1053
+ * Describes the message wrc.v2.SetBlockListRequest.
1054
+ * Use `create(SetBlockListRequestSchema)` to create a new message.
1055
+ */
1056
+ export declare const SetBlockListRequestSchema: GenMessage<SetBlockListRequest>;
1057
+ /**
1058
+ * @generated from message wrc.v2.SetStaticPathsRequest
1059
+ */
1060
+ export type SetStaticPathsRequest = Message<"wrc.v2.SetStaticPathsRequest"> & {
1061
+ /**
1062
+ * @generated from field: string session_id = 1;
1063
+ */
1064
+ sessionId: string;
1065
+ /**
1066
+ * @generated from field: string api_key = 2;
1067
+ */
1068
+ apiKey: string;
1069
+ /**
1070
+ * URL wildcard patterns to match. Empty disables caching.
1071
+ *
1072
+ * @generated from field: repeated string patterns = 3;
1073
+ */
1074
+ patterns: string[];
1075
+ /**
1076
+ * @generated from field: string blob_name = 4;
1077
+ */
1078
+ blobName: string;
1079
+ };
1080
+ /**
1081
+ * Describes the message wrc.v2.SetStaticPathsRequest.
1082
+ * Use `create(SetStaticPathsRequestSchema)` to create a new message.
1083
+ */
1084
+ export declare const SetStaticPathsRequestSchema: GenMessage<SetStaticPathsRequest>;
1085
+ /**
1086
+ * @generated from message wrc.v2.WaitForAnyRequestRequest
1087
+ */
1088
+ export type WaitForAnyRequestRequest = Message<"wrc.v2.WaitForAnyRequestRequest"> & {
1089
+ /**
1090
+ * @generated from field: string session_id = 1;
1091
+ */
1092
+ sessionId: string;
1093
+ /**
1094
+ * @generated from field: string api_key = 2;
1095
+ */
1096
+ apiKey: string;
1097
+ /**
1098
+ * @generated from field: repeated string patterns = 3;
1099
+ */
1100
+ patterns: string[];
1101
+ /**
1102
+ * Per-pattern abort flag (1 = block, 0 = observe only). Omit to observe all.
1103
+ *
1104
+ * @generated from field: repeated int32 abort_flags = 4;
1105
+ */
1106
+ abortFlags: number[];
1107
+ /**
1108
+ * @generated from field: optional double timeout = 5;
1109
+ */
1110
+ timeout?: number;
1111
+ };
1112
+ /**
1113
+ * Describes the message wrc.v2.WaitForAnyRequestRequest.
1114
+ * Use `create(WaitForAnyRequestRequestSchema)` to create a new message.
1115
+ */
1116
+ export declare const WaitForAnyRequestRequestSchema: GenMessage<WaitForAnyRequestRequest>;
1117
+ /**
1118
+ * @generated from message wrc.v2.WaitForAnyRequestResponse
1119
+ */
1120
+ export type WaitForAnyRequestResponse = Message<"wrc.v2.WaitForAnyRequestResponse"> & {
1121
+ /**
1122
+ * @generated from field: int32 index = 1;
1123
+ */
1124
+ index: number;
1125
+ /**
1126
+ * @generated from field: wrc.v2.InterceptedRequest request = 2;
1127
+ */
1128
+ request?: InterceptedRequest;
1129
+ };
1130
+ /**
1131
+ * Describes the message wrc.v2.WaitForAnyRequestResponse.
1132
+ * Use `create(WaitForAnyRequestResponseSchema)` to create a new message.
1133
+ */
1134
+ export declare const WaitForAnyRequestResponseSchema: GenMessage<WaitForAnyRequestResponse>;
1135
+ /**
1136
+ * @generated from message wrc.v2.WaitForAnyResponseRequest
1137
+ */
1138
+ export type WaitForAnyResponseRequest = Message<"wrc.v2.WaitForAnyResponseRequest"> & {
1139
+ /**
1140
+ * @generated from field: string session_id = 1;
1141
+ */
1142
+ sessionId: string;
1143
+ /**
1144
+ * @generated from field: string api_key = 2;
1145
+ */
1146
+ apiKey: string;
1147
+ /**
1148
+ * @generated from field: repeated string patterns = 3;
1149
+ */
1150
+ patterns: string[];
1151
+ /**
1152
+ * Per-pattern abort flag (1 = replace with empty 200, 0 = pass through).
1153
+ *
1154
+ * @generated from field: repeated int32 abort_flags = 4;
1155
+ */
1156
+ abortFlags: number[];
1157
+ /**
1158
+ * @generated from field: optional double timeout = 5;
1159
+ */
1160
+ timeout?: number;
1161
+ };
1162
+ /**
1163
+ * Describes the message wrc.v2.WaitForAnyResponseRequest.
1164
+ * Use `create(WaitForAnyResponseRequestSchema)` to create a new message.
1165
+ */
1166
+ export declare const WaitForAnyResponseRequestSchema: GenMessage<WaitForAnyResponseRequest>;
1167
+ /**
1168
+ * @generated from message wrc.v2.WaitForAnyResponseResponse
1169
+ */
1170
+ export type WaitForAnyResponseResponse = Message<"wrc.v2.WaitForAnyResponseResponse"> & {
1171
+ /**
1172
+ * @generated from field: int32 index = 1;
1173
+ */
1174
+ index: number;
1175
+ /**
1176
+ * @generated from field: wrc.v2.InterceptedResponse response = 2;
1177
+ */
1178
+ response?: InterceptedResponse;
1179
+ };
1180
+ /**
1181
+ * Describes the message wrc.v2.WaitForAnyResponseResponse.
1182
+ * Use `create(WaitForAnyResponseResponseSchema)` to create a new message.
1183
+ */
1184
+ export declare const WaitForAnyResponseResponseSchema: GenMessage<WaitForAnyResponseResponse>;
1185
+ /**
1186
+ * @generated from message wrc.v2.ModifyRequestRequest
1187
+ */
1188
+ export type ModifyRequestRequest = Message<"wrc.v2.ModifyRequestRequest"> & {
1189
+ /**
1190
+ * @generated from field: string session_id = 1;
1191
+ */
1192
+ sessionId: string;
1193
+ /**
1194
+ * @generated from field: string api_key = 2;
1195
+ */
1196
+ apiKey: string;
1197
+ /**
1198
+ * @generated from field: string url_pattern = 3;
1199
+ */
1200
+ urlPattern: string;
1201
+ /**
1202
+ * @generated from field: repeated wrc.v2.HeaderModification modifications = 4;
1203
+ */
1204
+ modifications: HeaderModification[];
1205
+ /**
1206
+ * Override POST/PUT/PATCH body. Empty = no body change.
1207
+ *
1208
+ * @generated from field: optional string body = 5;
1209
+ */
1210
+ body?: string;
1211
+ /**
1212
+ * @generated from field: optional double timeout = 6;
1213
+ */
1214
+ timeout?: number;
1215
+ };
1216
+ /**
1217
+ * Describes the message wrc.v2.ModifyRequestRequest.
1218
+ * Use `create(ModifyRequestRequestSchema)` to create a new message.
1219
+ */
1220
+ export declare const ModifyRequestRequestSchema: GenMessage<ModifyRequestRequest>;
1221
+ /**
1222
+ * @generated from message wrc.v2.ModifyRequestResponse
1223
+ */
1224
+ export type ModifyRequestResponse = Message<"wrc.v2.ModifyRequestResponse"> & {
1225
+ /**
1226
+ * @generated from field: wrc.v2.InterceptedRequest request = 1;
1227
+ */
1228
+ request?: InterceptedRequest;
1229
+ };
1230
+ /**
1231
+ * Describes the message wrc.v2.ModifyRequestResponse.
1232
+ * Use `create(ModifyRequestResponseSchema)` to create a new message.
1233
+ */
1234
+ export declare const ModifyRequestResponseSchema: GenMessage<ModifyRequestResponse>;
1235
+ /**
1236
+ * @generated from message wrc.v2.GetCookiesRequest
1237
+ */
1238
+ export type GetCookiesRequest = Message<"wrc.v2.GetCookiesRequest"> & {
1239
+ /**
1240
+ * @generated from field: string session_id = 1;
1241
+ */
1242
+ sessionId: string;
1243
+ /**
1244
+ * @generated from field: string api_key = 2;
1245
+ */
1246
+ apiKey: string;
1247
+ };
1248
+ /**
1249
+ * Describes the message wrc.v2.GetCookiesRequest.
1250
+ * Use `create(GetCookiesRequestSchema)` to create a new message.
1251
+ */
1252
+ export declare const GetCookiesRequestSchema: GenMessage<GetCookiesRequest>;
1253
+ /**
1254
+ * @generated from message wrc.v2.GetCookiesResponse
1255
+ */
1256
+ export type GetCookiesResponse = Message<"wrc.v2.GetCookiesResponse"> & {
1257
+ /**
1258
+ * @generated from field: repeated wrc.v2.CookieParam cookies = 1;
1259
+ */
1260
+ cookies: CookieParam[];
1261
+ };
1262
+ /**
1263
+ * Describes the message wrc.v2.GetCookiesResponse.
1264
+ * Use `create(GetCookiesResponseSchema)` to create a new message.
1265
+ */
1266
+ export declare const GetCookiesResponseSchema: GenMessage<GetCookiesResponse>;
1267
+ /**
1268
+ * @generated from message wrc.v2.SetCookiesRequest
1269
+ */
1270
+ export type SetCookiesRequest = Message<"wrc.v2.SetCookiesRequest"> & {
1271
+ /**
1272
+ * @generated from field: string session_id = 1;
1273
+ */
1274
+ sessionId: string;
1275
+ /**
1276
+ * @generated from field: string api_key = 2;
1277
+ */
1278
+ apiKey: string;
1279
+ /**
1280
+ * @generated from field: repeated wrc.v2.CookieParam cookies = 3;
1281
+ */
1282
+ cookies: CookieParam[];
1283
+ };
1284
+ /**
1285
+ * Describes the message wrc.v2.SetCookiesRequest.
1286
+ * Use `create(SetCookiesRequestSchema)` to create a new message.
1287
+ */
1288
+ export declare const SetCookiesRequestSchema: GenMessage<SetCookiesRequest>;
1289
+ /**
1290
+ * @generated from message wrc.v2.ClearCookiesRequest
1291
+ */
1292
+ export type ClearCookiesRequest = Message<"wrc.v2.ClearCookiesRequest"> & {
1293
+ /**
1294
+ * @generated from field: string session_id = 1;
1295
+ */
1296
+ sessionId: string;
1297
+ /**
1298
+ * @generated from field: string api_key = 2;
1299
+ */
1300
+ apiKey: string;
1301
+ };
1302
+ /**
1303
+ * Describes the message wrc.v2.ClearCookiesRequest.
1304
+ * Use `create(ClearCookiesRequestSchema)` to create a new message.
1305
+ */
1306
+ export declare const ClearCookiesRequestSchema: GenMessage<ClearCookiesRequest>;
1307
+ /**
1308
+ * @generated from message wrc.v2.StorageItem
1309
+ */
1310
+ export type StorageItem = Message<"wrc.v2.StorageItem"> & {
1311
+ /**
1312
+ * localStorage key.
1313
+ *
1314
+ * @generated from field: string key = 1;
1315
+ */
1316
+ key: string;
1317
+ /**
1318
+ * localStorage value.
1319
+ *
1320
+ * @generated from field: string value = 2;
1321
+ */
1322
+ value: string;
1323
+ };
1324
+ /**
1325
+ * Describes the message wrc.v2.StorageItem.
1326
+ * Use `create(StorageItemSchema)` to create a new message.
1327
+ */
1328
+ export declare const StorageItemSchema: GenMessage<StorageItem>;
1329
+ /**
1330
+ * @generated from message wrc.v2.StorageOriginEntry
1331
+ */
1332
+ export type StorageOriginEntry = Message<"wrc.v2.StorageOriginEntry"> & {
1333
+ /**
1334
+ * Serialized origin, e.g. "https://example.com".
1335
+ *
1336
+ * @generated from field: string origin = 1;
1337
+ */
1338
+ origin: string;
1339
+ /**
1340
+ * Key/value pairs for this origin.
1341
+ *
1342
+ * @generated from field: repeated wrc.v2.StorageItem items = 2;
1343
+ */
1344
+ items: StorageItem[];
1345
+ };
1346
+ /**
1347
+ * Describes the message wrc.v2.StorageOriginEntry.
1348
+ * Use `create(StorageOriginEntrySchema)` to create a new message.
1349
+ */
1350
+ export declare const StorageOriginEntrySchema: GenMessage<StorageOriginEntry>;
1351
+ /**
1352
+ * @generated from message wrc.v2.GetStorageRequest
1353
+ */
1354
+ export type GetStorageRequest = Message<"wrc.v2.GetStorageRequest"> & {
1355
+ /**
1356
+ * @generated from field: string session_id = 1;
1357
+ */
1358
+ sessionId: string;
1359
+ /**
1360
+ * @generated from field: string api_key = 2;
1361
+ */
1362
+ apiKey: string;
1363
+ /**
1364
+ * If set, only this origin is returned (e.g. "https://example.com").
1365
+ * Otherwise all origins with localStorage data are returned.
1366
+ *
1367
+ * @generated from field: optional string origin = 3;
1368
+ */
1369
+ origin?: string;
1370
+ };
1371
+ /**
1372
+ * Describes the message wrc.v2.GetStorageRequest.
1373
+ * Use `create(GetStorageRequestSchema)` to create a new message.
1374
+ */
1375
+ export declare const GetStorageRequestSchema: GenMessage<GetStorageRequest>;
1376
+ /**
1377
+ * @generated from message wrc.v2.GetStorageResponse
1378
+ */
1379
+ export type GetStorageResponse = Message<"wrc.v2.GetStorageResponse"> & {
1380
+ /**
1381
+ * localStorage entries grouped by origin.
1382
+ *
1383
+ * @generated from field: repeated wrc.v2.StorageOriginEntry storage = 1;
1384
+ */
1385
+ storage: StorageOriginEntry[];
1386
+ };
1387
+ /**
1388
+ * Describes the message wrc.v2.GetStorageResponse.
1389
+ * Use `create(GetStorageResponseSchema)` to create a new message.
1390
+ */
1391
+ export declare const GetStorageResponseSchema: GenMessage<GetStorageResponse>;
1392
+ /**
1393
+ * @generated from message wrc.v2.SetStorageRequest
1394
+ */
1395
+ export type SetStorageRequest = Message<"wrc.v2.SetStorageRequest"> & {
1396
+ /**
1397
+ * @generated from field: string session_id = 1;
1398
+ */
1399
+ sessionId: string;
1400
+ /**
1401
+ * @generated from field: string api_key = 2;
1402
+ */
1403
+ apiKey: string;
1404
+ /**
1405
+ * Entries to write, grouped by origin. Accepts the same structure
1406
+ * GetStorage returns, so a dump can be fed back verbatim.
1407
+ *
1408
+ * @generated from field: repeated wrc.v2.StorageOriginEntry storage = 3;
1409
+ */
1410
+ storage: StorageOriginEntry[];
1411
+ /**
1412
+ * If true, each origin present in `storage` is cleared before writing.
1413
+ *
1414
+ * @generated from field: optional bool clear_first = 4;
1415
+ */
1416
+ clearFirst?: boolean;
1417
+ };
1418
+ /**
1419
+ * Describes the message wrc.v2.SetStorageRequest.
1420
+ * Use `create(SetStorageRequestSchema)` to create a new message.
1421
+ */
1422
+ export declare const SetStorageRequestSchema: GenMessage<SetStorageRequest>;
1423
+ /**
1424
+ * @generated from message wrc.v2.ClearStorageRequest
1425
+ */
1426
+ export type ClearStorageRequest = Message<"wrc.v2.ClearStorageRequest"> & {
1427
+ /**
1428
+ * @generated from field: string session_id = 1;
1429
+ */
1430
+ sessionId: string;
1431
+ /**
1432
+ * @generated from field: string api_key = 2;
1433
+ */
1434
+ apiKey: string;
1435
+ /**
1436
+ * If set, only this origin's storage is deleted; otherwise all origins.
1437
+ *
1438
+ * @generated from field: optional string origin = 3;
1439
+ */
1440
+ origin?: string;
1441
+ };
1442
+ /**
1443
+ * Describes the message wrc.v2.ClearStorageRequest.
1444
+ * Use `create(ClearStorageRequestSchema)` to create a new message.
1445
+ */
1446
+ export declare const ClearStorageRequestSchema: GenMessage<ClearStorageRequest>;
1447
+ /**
1448
+ * @generated from message wrc.v2.GetDOMRequest
1449
+ */
1450
+ export type GetDOMRequest = Message<"wrc.v2.GetDOMRequest"> & {
1451
+ /**
1452
+ * @generated from field: string session_id = 1;
1453
+ */
1454
+ sessionId: string;
1455
+ /**
1456
+ * @generated from field: string api_key = 2;
1457
+ */
1458
+ apiKey: string;
1459
+ /**
1460
+ * @generated from field: string page_id = 3;
1461
+ */
1462
+ pageId: string;
1463
+ /**
1464
+ * @generated from field: optional string frame_id = 4;
1465
+ */
1466
+ frameId?: string;
1467
+ /**
1468
+ * -1 = full tree (default), 0 = root only, N = root + N descendant levels.
1469
+ *
1470
+ * @generated from field: optional int32 depth = 5;
1471
+ */
1472
+ depth?: number;
1473
+ };
1474
+ /**
1475
+ * Describes the message wrc.v2.GetDOMRequest.
1476
+ * Use `create(GetDOMRequestSchema)` to create a new message.
1477
+ */
1478
+ export declare const GetDOMRequestSchema: GenMessage<GetDOMRequest>;
1479
+ /**
1480
+ * @generated from message wrc.v2.GetDOMResponse
1481
+ */
1482
+ export type GetDOMResponse = Message<"wrc.v2.GetDOMResponse"> & {
1483
+ /**
1484
+ * JSON string in CDP DOM.Node shape (root is the Document node).
1485
+ *
1486
+ * @generated from field: string dom = 1;
1487
+ */
1488
+ dom: string;
1489
+ };
1490
+ /**
1491
+ * Describes the message wrc.v2.GetDOMResponse.
1492
+ * Use `create(GetDOMResponseSchema)` to create a new message.
1493
+ */
1494
+ export declare const GetDOMResponseSchema: GenMessage<GetDOMResponse>;
1495
+ /**
1496
+ * @generated from message wrc.v2.GetObservationRequest
1497
+ */
1498
+ export type GetObservationRequest = Message<"wrc.v2.GetObservationRequest"> & {
1499
+ /**
1500
+ * @generated from field: string session_id = 1;
1501
+ */
1502
+ sessionId: string;
1503
+ /**
1504
+ * @generated from field: string api_key = 2;
1505
+ */
1506
+ apiKey: string;
1507
+ /**
1508
+ * @generated from field: string page_id = 3;
1509
+ */
1510
+ pageId: string;
1511
+ /**
1512
+ * Default 500.
1513
+ *
1514
+ * @generated from field: optional int32 max_elements_per_frame = 4;
1515
+ */
1516
+ maxElementsPerFrame?: number;
1517
+ /**
1518
+ * Default 240.
1519
+ *
1520
+ * @generated from field: optional int32 max_text_length = 5;
1521
+ */
1522
+ maxTextLength?: number;
1523
+ };
1524
+ /**
1525
+ * Describes the message wrc.v2.GetObservationRequest.
1526
+ * Use `create(GetObservationRequestSchema)` to create a new message.
1527
+ */
1528
+ export declare const GetObservationRequestSchema: GenMessage<GetObservationRequest>;
1529
+ /**
1530
+ * @generated from message wrc.v2.GetObservationResponse
1531
+ */
1532
+ export type GetObservationResponse = Message<"wrc.v2.GetObservationResponse"> & {
1533
+ /**
1534
+ * Compact plain-text observation intended for LLM context.
1535
+ *
1536
+ * @generated from field: string observation_text = 1;
1537
+ */
1538
+ observationText: string;
1539
+ /**
1540
+ * Structured JSON with frames, elements, counts, and limits.
1541
+ *
1542
+ * @generated from field: string observation_json = 2;
1543
+ */
1544
+ observationJson: string;
1545
+ };
1546
+ /**
1547
+ * Describes the message wrc.v2.GetObservationResponse.
1548
+ * Use `create(GetObservationResponseSchema)` to create a new message.
1549
+ */
1550
+ export declare const GetObservationResponseSchema: GenMessage<GetObservationResponse>;
1551
+ /**
1552
+ * GetDOMHash is a cheap polling endpoint for change-detection. The server
1553
+ * computes sha256[:8] of the full-tree DOM JSON and returns just that.
1554
+ *
1555
+ * @generated from message wrc.v2.GetDOMHashRequest
1556
+ */
1557
+ export type GetDOMHashRequest = Message<"wrc.v2.GetDOMHashRequest"> & {
1558
+ /**
1559
+ * @generated from field: string session_id = 1;
1560
+ */
1561
+ sessionId: string;
1562
+ /**
1563
+ * @generated from field: string api_key = 2;
1564
+ */
1565
+ apiKey: string;
1566
+ /**
1567
+ * @generated from field: string page_id = 3;
1568
+ */
1569
+ pageId: string;
1570
+ /**
1571
+ * @generated from field: optional string frame_id = 4;
1572
+ */
1573
+ frameId?: string;
1574
+ };
1575
+ /**
1576
+ * Describes the message wrc.v2.GetDOMHashRequest.
1577
+ * Use `create(GetDOMHashRequestSchema)` to create a new message.
1578
+ */
1579
+ export declare const GetDOMHashRequestSchema: GenMessage<GetDOMHashRequest>;
1580
+ /**
1581
+ * @generated from message wrc.v2.GetDOMHashResponse
1582
+ */
1583
+ export type GetDOMHashResponse = Message<"wrc.v2.GetDOMHashResponse"> & {
1584
+ /**
1585
+ * @generated from field: string hash = 1;
1586
+ */
1587
+ hash: string;
1588
+ };
1589
+ /**
1590
+ * Describes the message wrc.v2.GetDOMHashResponse.
1591
+ * Use `create(GetDOMHashResponseSchema)` to create a new message.
1592
+ */
1593
+ export declare const GetDOMHashResponseSchema: GenMessage<GetDOMHashResponse>;
1594
+ /**
1595
+ * @generated from message wrc.v2.InspectAtPositionRequest
1596
+ */
1597
+ export type InspectAtPositionRequest = Message<"wrc.v2.InspectAtPositionRequest"> & {
1598
+ /**
1599
+ * @generated from field: string session_id = 1;
1600
+ */
1601
+ sessionId: string;
1602
+ /**
1603
+ * @generated from field: string api_key = 2;
1604
+ */
1605
+ apiKey: string;
1606
+ /**
1607
+ * @generated from field: string page_id = 3;
1608
+ */
1609
+ pageId: string;
1610
+ /**
1611
+ * Viewport-relative CSS pixels.
1612
+ *
1613
+ * @generated from field: double x = 4;
1614
+ */
1615
+ x: number;
1616
+ /**
1617
+ * @generated from field: double y = 5;
1618
+ */
1619
+ y: number;
1620
+ };
1621
+ /**
1622
+ * Describes the message wrc.v2.InspectAtPositionRequest.
1623
+ * Use `create(InspectAtPositionRequestSchema)` to create a new message.
1624
+ */
1625
+ export declare const InspectAtPositionRequestSchema: GenMessage<InspectAtPositionRequest>;
1626
+ /**
1627
+ * @generated from message wrc.v2.InspectAtPositionResponse
1628
+ */
1629
+ export type InspectAtPositionResponse = Message<"wrc.v2.InspectAtPositionResponse"> & {
1630
+ /**
1631
+ * 0 if nothing was found at (x, y).
1632
+ *
1633
+ * @generated from field: int32 backend_node_id = 1;
1634
+ */
1635
+ backendNodeId: number;
1636
+ /**
1637
+ * @generated from field: string frame_id = 2;
1638
+ */
1639
+ frameId: string;
1640
+ /**
1641
+ * @generated from field: string tag_name = 3;
1642
+ */
1643
+ tagName: string;
1644
+ /**
1645
+ * Trimmed text content (max ~200 chars, server-imposed).
1646
+ *
1647
+ * @generated from field: string text_content = 4;
1648
+ */
1649
+ textContent: string;
1650
+ /**
1651
+ * @generated from field: bool is_visible = 5;
1652
+ */
1653
+ isVisible: boolean;
1654
+ /**
1655
+ * @generated from field: wrc.v2.Rect bounds = 6;
1656
+ */
1657
+ bounds?: Rect;
1658
+ };
1659
+ /**
1660
+ * Describes the message wrc.v2.InspectAtPositionResponse.
1661
+ * Use `create(InspectAtPositionResponseSchema)` to create a new message.
1662
+ */
1663
+ export declare const InspectAtPositionResponseSchema: GenMessage<InspectAtPositionResponse>;
1664
+ /**
1665
+ * @generated from message wrc.v2.HighlightNodeRequest
1666
+ */
1667
+ export type HighlightNodeRequest = Message<"wrc.v2.HighlightNodeRequest"> & {
1668
+ /**
1669
+ * @generated from field: string session_id = 1;
1670
+ */
1671
+ sessionId: string;
1672
+ /**
1673
+ * @generated from field: string api_key = 2;
1674
+ */
1675
+ apiKey: string;
1676
+ /**
1677
+ * @generated from field: string page_id = 3;
1678
+ */
1679
+ pageId: string;
1680
+ /**
1681
+ * <= 0 clears all highlights.
1682
+ *
1683
+ * @generated from field: int32 backend_node_id = 4;
1684
+ */
1685
+ backendNodeId: number;
1686
+ /**
1687
+ * @generated from field: optional string frame_id = 5;
1688
+ */
1689
+ frameId?: string;
1690
+ };
1691
+ /**
1692
+ * Describes the message wrc.v2.HighlightNodeRequest.
1693
+ * Use `create(HighlightNodeRequestSchema)` to create a new message.
1694
+ */
1695
+ export declare const HighlightNodeRequestSchema: GenMessage<HighlightNodeRequest>;
1696
+ /**
1697
+ * IME-style text insertion at the current cursor position — no individual
1698
+ * key events. Targets whatever element currently has focus.
1699
+ *
1700
+ * @generated from message wrc.v2.InsertTextRequest
1701
+ */
1702
+ export type InsertTextRequest = Message<"wrc.v2.InsertTextRequest"> & {
1703
+ /**
1704
+ * @generated from field: string session_id = 1;
1705
+ */
1706
+ sessionId: string;
1707
+ /**
1708
+ * @generated from field: string api_key = 2;
1709
+ */
1710
+ apiKey: string;
1711
+ /**
1712
+ * @generated from field: string page_id = 3;
1713
+ */
1714
+ pageId: string;
1715
+ /**
1716
+ * @generated from field: string text = 4;
1717
+ */
1718
+ text: string;
1719
+ };
1720
+ /**
1721
+ * Describes the message wrc.v2.InsertTextRequest.
1722
+ * Use `create(InsertTextRequestSchema)` to create a new message.
1723
+ */
1724
+ export declare const InsertTextRequestSchema: GenMessage<InsertTextRequest>;
1725
+ /**
1726
+ * Fires a single key-down (PressKey) or key-up (ReleaseKey) event. For
1727
+ * full press cycles (down + char + up) call PressKey followed by ReleaseKey,
1728
+ * or use one of the higher-level typing helpers in the SDK.
1729
+ *
1730
+ * @generated from message wrc.v2.PressKeyRequest
1731
+ */
1732
+ export type PressKeyRequest = Message<"wrc.v2.PressKeyRequest"> & {
1733
+ /**
1734
+ * @generated from field: string session_id = 1;
1735
+ */
1736
+ sessionId: string;
1737
+ /**
1738
+ * @generated from field: string api_key = 2;
1739
+ */
1740
+ apiKey: string;
1741
+ /**
1742
+ * @generated from field: string page_id = 3;
1743
+ */
1744
+ pageId: string;
1745
+ /**
1746
+ * DOM key value (e.g. "a", "Enter", "ArrowDown", "Shift").
1747
+ *
1748
+ * @generated from field: string key = 4;
1749
+ */
1750
+ key: string;
1751
+ /**
1752
+ * DOM code value (e.g. "KeyA", "Enter", "ArrowDown", "ShiftLeft").
1753
+ *
1754
+ * @generated from field: optional string code = 5;
1755
+ */
1756
+ code?: string;
1757
+ /**
1758
+ * Bit flags: Alt=1, Ctrl=2, Meta=4, Shift=8.
1759
+ *
1760
+ * @generated from field: optional int32 modifiers = 6;
1761
+ */
1762
+ modifiers?: number;
1763
+ /**
1764
+ * DOM KeyboardEvent.location (0=standard, 1=left, 2=right, 3=numpad).
1765
+ *
1766
+ * @generated from field: optional int32 location = 7;
1767
+ */
1768
+ location?: number;
1769
+ };
1770
+ /**
1771
+ * Describes the message wrc.v2.PressKeyRequest.
1772
+ * Use `create(PressKeyRequestSchema)` to create a new message.
1773
+ */
1774
+ export declare const PressKeyRequestSchema: GenMessage<PressKeyRequest>;
1775
+ /**
1776
+ * @generated from message wrc.v2.ReleaseKeyRequest
1777
+ */
1778
+ export type ReleaseKeyRequest = Message<"wrc.v2.ReleaseKeyRequest"> & {
1779
+ /**
1780
+ * @generated from field: string session_id = 1;
1781
+ */
1782
+ sessionId: string;
1783
+ /**
1784
+ * @generated from field: string api_key = 2;
1785
+ */
1786
+ apiKey: string;
1787
+ /**
1788
+ * @generated from field: string page_id = 3;
1789
+ */
1790
+ pageId: string;
1791
+ /**
1792
+ * @generated from field: string key = 4;
1793
+ */
1794
+ key: string;
1795
+ /**
1796
+ * @generated from field: optional string code = 5;
1797
+ */
1798
+ code?: string;
1799
+ /**
1800
+ * @generated from field: optional int32 modifiers = 6;
1801
+ */
1802
+ modifiers?: number;
1803
+ /**
1804
+ * @generated from field: optional int32 location = 7;
1805
+ */
1806
+ location?: number;
1807
+ };
1808
+ /**
1809
+ * Describes the message wrc.v2.ReleaseKeyRequest.
1810
+ * Use `create(ReleaseKeyRequestSchema)` to create a new message.
1811
+ */
1812
+ export declare const ReleaseKeyRequestSchema: GenMessage<ReleaseKeyRequest>;
1813
+ /**
1814
+ * @generated from message wrc.v2.GetSelectionRequest
1815
+ */
1816
+ export type GetSelectionRequest = Message<"wrc.v2.GetSelectionRequest"> & {
1817
+ /**
1818
+ * @generated from field: string session_id = 1;
1819
+ */
1820
+ sessionId: string;
1821
+ /**
1822
+ * @generated from field: string api_key = 2;
1823
+ */
1824
+ apiKey: string;
1825
+ /**
1826
+ * @generated from field: string page_id = 3;
1827
+ */
1828
+ pageId: string;
1829
+ };
1830
+ /**
1831
+ * Describes the message wrc.v2.GetSelectionRequest.
1832
+ * Use `create(GetSelectionRequestSchema)` to create a new message.
1833
+ */
1834
+ export declare const GetSelectionRequestSchema: GenMessage<GetSelectionRequest>;
1835
+ /**
1836
+ * @generated from message wrc.v2.GetSelectionResponse
1837
+ */
1838
+ export type GetSelectionResponse = Message<"wrc.v2.GetSelectionResponse"> & {
1839
+ /**
1840
+ * Empty if nothing is selected on the page.
1841
+ *
1842
+ * @generated from field: string text = 1;
1843
+ */
1844
+ text: string;
1845
+ };
1846
+ /**
1847
+ * Describes the message wrc.v2.GetSelectionResponse.
1848
+ * Use `create(GetSelectionResponseSchema)` to create a new message.
1849
+ */
1850
+ export declare const GetSelectionResponseSchema: GenMessage<GetSelectionResponse>;
1851
+ /**
1852
+ * @generated from message wrc.v2.SolveCaptchaRequest
1853
+ */
1854
+ export type SolveCaptchaRequest = Message<"wrc.v2.SolveCaptchaRequest"> & {
1855
+ /**
1856
+ * @generated from field: string session_id = 1;
1857
+ */
1858
+ sessionId: string;
1859
+ /**
1860
+ * @generated from field: string api_key = 2;
1861
+ */
1862
+ apiKey: string;
1863
+ /**
1864
+ * Total time budget in ms. 0 = server default (60s).
1865
+ *
1866
+ * @generated from field: int32 timeout_ms = 3;
1867
+ */
1868
+ timeoutMs: number;
1869
+ /**
1870
+ * Retry the solve flow this many times before giving up.
1871
+ *
1872
+ * @generated from field: int32 retry_amount = 4;
1873
+ */
1874
+ retryAmount: number;
1875
+ };
1876
+ /**
1877
+ * Describes the message wrc.v2.SolveCaptchaRequest.
1878
+ * Use `create(SolveCaptchaRequestSchema)` to create a new message.
1879
+ */
1880
+ export declare const SolveCaptchaRequestSchema: GenMessage<SolveCaptchaRequest>;
1881
+ /**
1882
+ * @generated from message wrc.v2.SolveCaptchaResponse
1883
+ */
1884
+ export type SolveCaptchaResponse = Message<"wrc.v2.SolveCaptchaResponse"> & {
1885
+ /**
1886
+ * Solution token returned by the underlying challenge, when applicable.
1887
+ * Empty on success — most challenges are completed in-page server-side
1888
+ * and require no further action from the caller. Empty on failure too.
1889
+ *
1890
+ * @generated from field: string result = 1;
1891
+ */
1892
+ result: string;
1893
+ };
1894
+ /**
1895
+ * Describes the message wrc.v2.SolveCaptchaResponse.
1896
+ * Use `create(SolveCaptchaResponseSchema)` to create a new message.
1897
+ */
1898
+ export declare const SolveCaptchaResponseSchema: GenMessage<SolveCaptchaResponse>;
1899
+ /**
1900
+ * @generated from service wrc.v2.WRC
1901
+ */
1902
+ export declare const WRC: GenService<{
1903
+ /**
1904
+ * Context-level
1905
+ *
1906
+ * @generated from rpc wrc.v2.WRC.SetProxy
1907
+ */
1908
+ setProxy: {
1909
+ methodKind: "unary";
1910
+ input: typeof SetProxyRequestSchema;
1911
+ output: typeof EmptySchema;
1912
+ };
1913
+ /**
1914
+ * @generated from rpc wrc.v2.WRC.GetPages
1915
+ */
1916
+ getPages: {
1917
+ methodKind: "unary";
1918
+ input: typeof GetPagesRequestSchema;
1919
+ output: typeof GetPagesResponseSchema;
1920
+ };
1921
+ /**
1922
+ * Page navigation / content
1923
+ *
1924
+ * @generated from rpc wrc.v2.WRC.Navigate
1925
+ */
1926
+ navigate: {
1927
+ methodKind: "unary";
1928
+ input: typeof NavigateRequestSchema;
1929
+ output: typeof NavigateResponseSchema;
1930
+ };
1931
+ /**
1932
+ * @generated from rpc wrc.v2.WRC.LoadHTML
1933
+ */
1934
+ loadHTML: {
1935
+ methodKind: "unary";
1936
+ input: typeof LoadHTMLRequestSchema;
1937
+ output: typeof EmptySchema;
1938
+ };
1939
+ /**
1940
+ * Evaluation
1941
+ *
1942
+ * @generated from rpc wrc.v2.WRC.Evaluate
1943
+ */
1944
+ evaluate: {
1945
+ methodKind: "unary";
1946
+ input: typeof EvaluateRequestSchema;
1947
+ output: typeof EvaluateResponseSchema;
1948
+ };
1949
+ /**
1950
+ * Waiting
1951
+ *
1952
+ * @generated from rpc wrc.v2.WRC.WaitForAny
1953
+ */
1954
+ waitForAny: {
1955
+ methodKind: "unary";
1956
+ input: typeof WaitForAnyParamsSchema;
1957
+ output: typeof WaitResultSchema;
1958
+ };
1959
+ /**
1960
+ * Element actions
1961
+ *
1962
+ * @generated from rpc wrc.v2.WRC.SelectOption
1963
+ */
1964
+ selectOption: {
1965
+ methodKind: "unary";
1966
+ input: typeof SelectOptionRequestSchema;
1967
+ output: typeof SelectOptionResultSchema;
1968
+ };
1969
+ /**
1970
+ * @generated from rpc wrc.v2.WRC.ScrollTo
1971
+ */
1972
+ scrollTo: {
1973
+ methodKind: "unary";
1974
+ input: typeof ScrollToRequestSchema;
1975
+ output: typeof ElementResultSchema;
1976
+ };
1977
+ /**
1978
+ * @generated from rpc wrc.v2.WRC.MoveTo
1979
+ */
1980
+ moveTo: {
1981
+ methodKind: "unary";
1982
+ input: typeof MoveToRequestSchema;
1983
+ output: typeof ElementResultSchema;
1984
+ };
1985
+ /**
1986
+ * @generated from rpc wrc.v2.WRC.Click
1987
+ */
1988
+ click: {
1989
+ methodKind: "unary";
1990
+ input: typeof ClickRequestSchema;
1991
+ output: typeof ElementResultSchema;
1992
+ };
1993
+ /**
1994
+ * @generated from rpc wrc.v2.WRC.Drag
1995
+ */
1996
+ drag: {
1997
+ methodKind: "unary";
1998
+ input: typeof DragRequestSchema;
1999
+ output: typeof DragResultSchema;
2000
+ };
2001
+ /**
2002
+ * @generated from rpc wrc.v2.WRC.Fill
2003
+ */
2004
+ fill: {
2005
+ methodKind: "unary";
2006
+ input: typeof FillRequestSchema;
2007
+ output: typeof ElementResultSchema;
2008
+ };
2009
+ /**
2010
+ * Network interception
2011
+ *
2012
+ * @generated from rpc wrc.v2.WRC.SetBlockList
2013
+ */
2014
+ setBlockList: {
2015
+ methodKind: "unary";
2016
+ input: typeof SetBlockListRequestSchema;
2017
+ output: typeof EmptySchema;
2018
+ };
2019
+ /**
2020
+ * @generated from rpc wrc.v2.WRC.SetStaticPaths
2021
+ */
2022
+ setStaticPaths: {
2023
+ methodKind: "unary";
2024
+ input: typeof SetStaticPathsRequestSchema;
2025
+ output: typeof EmptySchema;
2026
+ };
2027
+ /**
2028
+ * @generated from rpc wrc.v2.WRC.WaitForAnyRequest
2029
+ */
2030
+ waitForAnyRequest: {
2031
+ methodKind: "unary";
2032
+ input: typeof WaitForAnyRequestRequestSchema;
2033
+ output: typeof WaitForAnyRequestResponseSchema;
2034
+ };
2035
+ /**
2036
+ * @generated from rpc wrc.v2.WRC.WaitForAnyResponse
2037
+ */
2038
+ waitForAnyResponse: {
2039
+ methodKind: "unary";
2040
+ input: typeof WaitForAnyResponseRequestSchema;
2041
+ output: typeof WaitForAnyResponseResponseSchema;
2042
+ };
2043
+ /**
2044
+ * @generated from rpc wrc.v2.WRC.ModifyRequest
2045
+ */
2046
+ modifyRequest: {
2047
+ methodKind: "unary";
2048
+ input: typeof ModifyRequestRequestSchema;
2049
+ output: typeof ModifyRequestResponseSchema;
2050
+ };
2051
+ /**
2052
+ * Cookies
2053
+ *
2054
+ * @generated from rpc wrc.v2.WRC.GetCookies
2055
+ */
2056
+ getCookies: {
2057
+ methodKind: "unary";
2058
+ input: typeof GetCookiesRequestSchema;
2059
+ output: typeof GetCookiesResponseSchema;
2060
+ };
2061
+ /**
2062
+ * @generated from rpc wrc.v2.WRC.SetCookies
2063
+ */
2064
+ setCookies: {
2065
+ methodKind: "unary";
2066
+ input: typeof SetCookiesRequestSchema;
2067
+ output: typeof EmptySchema;
2068
+ };
2069
+ /**
2070
+ * @generated from rpc wrc.v2.WRC.ClearCookies
2071
+ */
2072
+ clearCookies: {
2073
+ methodKind: "unary";
2074
+ input: typeof ClearCookiesRequestSchema;
2075
+ output: typeof EmptySchema;
2076
+ };
2077
+ /**
2078
+ * Storage (localStorage)
2079
+ *
2080
+ * @generated from rpc wrc.v2.WRC.GetStorage
2081
+ */
2082
+ getStorage: {
2083
+ methodKind: "unary";
2084
+ input: typeof GetStorageRequestSchema;
2085
+ output: typeof GetStorageResponseSchema;
2086
+ };
2087
+ /**
2088
+ * @generated from rpc wrc.v2.WRC.SetStorage
2089
+ */
2090
+ setStorage: {
2091
+ methodKind: "unary";
2092
+ input: typeof SetStorageRequestSchema;
2093
+ output: typeof EmptySchema;
2094
+ };
2095
+ /**
2096
+ * @generated from rpc wrc.v2.WRC.ClearStorage
2097
+ */
2098
+ clearStorage: {
2099
+ methodKind: "unary";
2100
+ input: typeof ClearStorageRequestSchema;
2101
+ output: typeof EmptySchema;
2102
+ };
2103
+ /**
2104
+ * DOM / observation
2105
+ *
2106
+ * @generated from rpc wrc.v2.WRC.GetDOM
2107
+ */
2108
+ getDOM: {
2109
+ methodKind: "unary";
2110
+ input: typeof GetDOMRequestSchema;
2111
+ output: typeof GetDOMResponseSchema;
2112
+ };
2113
+ /**
2114
+ * @generated from rpc wrc.v2.WRC.GetDOMHash
2115
+ */
2116
+ getDOMHash: {
2117
+ methodKind: "unary";
2118
+ input: typeof GetDOMHashRequestSchema;
2119
+ output: typeof GetDOMHashResponseSchema;
2120
+ };
2121
+ /**
2122
+ * @generated from rpc wrc.v2.WRC.GetObservation
2123
+ */
2124
+ getObservation: {
2125
+ methodKind: "unary";
2126
+ input: typeof GetObservationRequestSchema;
2127
+ output: typeof GetObservationResponseSchema;
2128
+ };
2129
+ /**
2130
+ * @generated from rpc wrc.v2.WRC.InspectAtPosition
2131
+ */
2132
+ inspectAtPosition: {
2133
+ methodKind: "unary";
2134
+ input: typeof InspectAtPositionRequestSchema;
2135
+ output: typeof InspectAtPositionResponseSchema;
2136
+ };
2137
+ /**
2138
+ * @generated from rpc wrc.v2.WRC.HighlightNode
2139
+ */
2140
+ highlightNode: {
2141
+ methodKind: "unary";
2142
+ input: typeof HighlightNodeRequestSchema;
2143
+ output: typeof EmptySchema;
2144
+ };
2145
+ /**
2146
+ * Keyboard / IME (used by the live browser UI on top of the WebRTC stream)
2147
+ *
2148
+ * @generated from rpc wrc.v2.WRC.InsertText
2149
+ */
2150
+ insertText: {
2151
+ methodKind: "unary";
2152
+ input: typeof InsertTextRequestSchema;
2153
+ output: typeof EmptySchema;
2154
+ };
2155
+ /**
2156
+ * @generated from rpc wrc.v2.WRC.PressKey
2157
+ */
2158
+ pressKey: {
2159
+ methodKind: "unary";
2160
+ input: typeof PressKeyRequestSchema;
2161
+ output: typeof EmptySchema;
2162
+ };
2163
+ /**
2164
+ * @generated from rpc wrc.v2.WRC.ReleaseKey
2165
+ */
2166
+ releaseKey: {
2167
+ methodKind: "unary";
2168
+ input: typeof ReleaseKeyRequestSchema;
2169
+ output: typeof EmptySchema;
2170
+ };
2171
+ /**
2172
+ * @generated from rpc wrc.v2.WRC.GetSelection
2173
+ */
2174
+ getSelection: {
2175
+ methodKind: "unary";
2176
+ input: typeof GetSelectionRequestSchema;
2177
+ output: typeof GetSelectionResponseSchema;
2178
+ };
2179
+ /**
2180
+ * Captcha solver
2181
+ *
2182
+ * @generated from rpc wrc.v2.WRC.SolveCaptcha
2183
+ */
2184
+ solveCaptcha: {
2185
+ methodKind: "unary";
2186
+ input: typeof SolveCaptchaRequestSchema;
2187
+ output: typeof SolveCaptchaResponseSchema;
2188
+ };
2189
+ }>;