browserscale-ts 1.0.1

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,2266 @@
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 browserscale.v1.Rect
10
+ */
11
+ export type Rect = Message<"browserscale.v1.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 browserscale.v1.Rect.
31
+ * Use `create(RectSchema)` to create a new message.
32
+ */
33
+ export declare const RectSchema: GenMessage<Rect>;
34
+ /**
35
+ * @generated from message browserscale.v1.FrameInfo
36
+ */
37
+ export type FrameInfo = Message<"browserscale.v1.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: browserscale.v1.Rect absolute_rect = 7;
64
+ */
65
+ absoluteRect?: Rect;
66
+ /**
67
+ * @generated from field: browserscale.v1.Rect relative_rect = 8;
68
+ */
69
+ relativeRect?: Rect;
70
+ /**
71
+ * @generated from field: repeated browserscale.v1.FrameInfo children = 9;
72
+ */
73
+ children: FrameInfo[];
74
+ };
75
+ /**
76
+ * Describes the message browserscale.v1.FrameInfo.
77
+ * Use `create(FrameInfoSchema)` to create a new message.
78
+ */
79
+ export declare const FrameInfoSchema: GenMessage<FrameInfo>;
80
+ /**
81
+ * @generated from message browserscale.v1.PageInfo
82
+ */
83
+ export type PageInfo = Message<"browserscale.v1.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: browserscale.v1.Rect viewport = 5;
102
+ */
103
+ viewport?: Rect;
104
+ /**
105
+ * @generated from field: browserscale.v1.FrameInfo frame_tree = 6;
106
+ */
107
+ frameTree?: FrameInfo;
108
+ };
109
+ /**
110
+ * Describes the message browserscale.v1.PageInfo.
111
+ * Use `create(PageInfoSchema)` to create a new message.
112
+ */
113
+ export declare const PageInfoSchema: GenMessage<PageInfo>;
114
+ /**
115
+ * @generated from message browserscale.v1.Header
116
+ */
117
+ export type Header = Message<"browserscale.v1.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 browserscale.v1.Header.
129
+ * Use `create(HeaderSchema)` to create a new message.
130
+ */
131
+ export declare const HeaderSchema: GenMessage<Header>;
132
+ /**
133
+ * @generated from message browserscale.v1.InterceptedRequest
134
+ */
135
+ export type InterceptedRequest = Message<"browserscale.v1.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 browserscale.v1.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 browserscale.v1.InterceptedRequest.
159
+ * Use `create(InterceptedRequestSchema)` to create a new message.
160
+ */
161
+ export declare const InterceptedRequestSchema: GenMessage<InterceptedRequest>;
162
+ /**
163
+ * @generated from message browserscale.v1.InterceptedResponse
164
+ */
165
+ export type InterceptedResponse = Message<"browserscale.v1.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 browserscale.v1.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 browserscale.v1.InterceptedResponse.
185
+ * Use `create(InterceptedResponseSchema)` to create a new message.
186
+ */
187
+ export declare const InterceptedResponseSchema: GenMessage<InterceptedResponse>;
188
+ /**
189
+ * @generated from message browserscale.v1.HeaderModification
190
+ */
191
+ export type HeaderModification = Message<"browserscale.v1.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 browserscale.v1.HeaderModification.
217
+ * Use `create(HeaderModificationSchema)` to create a new message.
218
+ */
219
+ export declare const HeaderModificationSchema: GenMessage<HeaderModification>;
220
+ /**
221
+ * @generated from message browserscale.v1.CookiePartitionKey
222
+ */
223
+ export type CookiePartitionKey = Message<"browserscale.v1.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 browserscale.v1.CookiePartitionKey.
235
+ * Use `create(CookiePartitionKeySchema)` to create a new message.
236
+ */
237
+ export declare const CookiePartitionKeySchema: GenMessage<CookiePartitionKey>;
238
+ /**
239
+ * @generated from message browserscale.v1.CookieParam
240
+ */
241
+ export type CookieParam = Message<"browserscale.v1.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 browserscale.v1.CookiePartitionKey partition_key = 13;
292
+ */
293
+ partitionKey?: CookiePartitionKey;
294
+ };
295
+ /**
296
+ * Describes the message browserscale.v1.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 browserscale.v1.WaitCondition
304
+ */
305
+ export type WaitCondition = Message<"browserscale.v1.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 browserscale.v1.WaitCondition.
325
+ * Use `create(WaitConditionSchema)` to create a new message.
326
+ */
327
+ export declare const WaitConditionSchema: GenMessage<WaitCondition>;
328
+ /**
329
+ * @generated from message browserscale.v1.WaitResult
330
+ */
331
+ export type WaitResult = Message<"browserscale.v1.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: browserscale.v1.Rect bounds = 5;
350
+ */
351
+ bounds?: Rect;
352
+ };
353
+ /**
354
+ * Describes the message browserscale.v1.WaitResult.
355
+ * Use `create(WaitResultSchema)` to create a new message.
356
+ */
357
+ export declare const WaitResultSchema: GenMessage<WaitResult>;
358
+ /**
359
+ * @generated from message browserscale.v1.ElementResult
360
+ */
361
+ export type ElementResult = Message<"browserscale.v1.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: browserscale.v1.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 browserscale.v1.ElementResult.
393
+ * Use `create(ElementResultSchema)` to create a new message.
394
+ */
395
+ export declare const ElementResultSchema: GenMessage<ElementResult>;
396
+ /**
397
+ * @generated from message browserscale.v1.DragResult
398
+ */
399
+ export type DragResult = Message<"browserscale.v1.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 browserscale.v1.DragResult.
431
+ * Use `create(DragResultSchema)` to create a new message.
432
+ */
433
+ export declare const DragResultSchema: GenMessage<DragResult>;
434
+ /**
435
+ * @generated from message browserscale.v1.SelectOptionResult
436
+ */
437
+ export type SelectOptionResult = Message<"browserscale.v1.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 browserscale.v1.SelectOptionResult.
453
+ * Use `create(SelectOptionResultSchema)` to create a new message.
454
+ */
455
+ export declare const SelectOptionResultSchema: GenMessage<SelectOptionResult>;
456
+ /**
457
+ * @generated from message browserscale.v1.SetProxyRequest
458
+ */
459
+ export type SetProxyRequest = Message<"browserscale.v1.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 browserscale.v1.SetProxyRequest.
489
+ * Use `create(SetProxyRequestSchema)` to create a new message.
490
+ */
491
+ export declare const SetProxyRequestSchema: GenMessage<SetProxyRequest>;
492
+ /**
493
+ * @generated from message browserscale.v1.GetPagesRequest
494
+ */
495
+ export type GetPagesRequest = Message<"browserscale.v1.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 browserscale.v1.GetPagesRequest.
507
+ * Use `create(GetPagesRequestSchema)` to create a new message.
508
+ */
509
+ export declare const GetPagesRequestSchema: GenMessage<GetPagesRequest>;
510
+ /**
511
+ * @generated from message browserscale.v1.GetPagesResponse
512
+ */
513
+ export type GetPagesResponse = Message<"browserscale.v1.GetPagesResponse"> & {
514
+ /**
515
+ * @generated from field: repeated browserscale.v1.PageInfo pages = 1;
516
+ */
517
+ pages: PageInfo[];
518
+ };
519
+ /**
520
+ * Describes the message browserscale.v1.GetPagesResponse.
521
+ * Use `create(GetPagesResponseSchema)` to create a new message.
522
+ */
523
+ export declare const GetPagesResponseSchema: GenMessage<GetPagesResponse>;
524
+ /**
525
+ * @generated from message browserscale.v1.NavigateRequest
526
+ */
527
+ export type NavigateRequest = Message<"browserscale.v1.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 browserscale.v1.NavigateRequest.
555
+ * Use `create(NavigateRequestSchema)` to create a new message.
556
+ */
557
+ export declare const NavigateRequestSchema: GenMessage<NavigateRequest>;
558
+ /**
559
+ * @generated from message browserscale.v1.NavigateResponse
560
+ */
561
+ export type NavigateResponse = Message<"browserscale.v1.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 browserscale.v1.NavigateResponse.
573
+ * Use `create(NavigateResponseSchema)` to create a new message.
574
+ */
575
+ export declare const NavigateResponseSchema: GenMessage<NavigateResponse>;
576
+ /**
577
+ * @generated from message browserscale.v1.LoadHTMLRequest
578
+ */
579
+ export type LoadHTMLRequest = Message<"browserscale.v1.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 browserscale.v1.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 browserscale.v1.LoadHTMLRequest.
611
+ * Use `create(LoadHTMLRequestSchema)` to create a new message.
612
+ */
613
+ export declare const LoadHTMLRequestSchema: GenMessage<LoadHTMLRequest>;
614
+ /**
615
+ * @generated from message browserscale.v1.EvaluateRequest
616
+ */
617
+ export type EvaluateRequest = Message<"browserscale.v1.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 browserscale.v1.EvaluateRequest.
644
+ * Use `create(EvaluateRequestSchema)` to create a new message.
645
+ */
646
+ export declare const EvaluateRequestSchema: GenMessage<EvaluateRequest>;
647
+ /**
648
+ * @generated from message browserscale.v1.EvaluateResponse
649
+ */
650
+ export type EvaluateResponse = Message<"browserscale.v1.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: browserscale.v1.Rect bounds = 4;
669
+ */
670
+ bounds?: Rect;
671
+ };
672
+ /**
673
+ * Describes the message browserscale.v1.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 browserscale.v1.WaitForAnyParams
682
+ */
683
+ export type WaitForAnyParams = Message<"browserscale.v1.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 browserscale.v1.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 browserscale.v1.WaitForAnyParams.
713
+ * Use `create(WaitForAnyParamsSchema)` to create a new message.
714
+ */
715
+ export declare const WaitForAnyParamsSchema: GenMessage<WaitForAnyParams>;
716
+ /**
717
+ * @generated from message browserscale.v1.SelectOptionRequest
718
+ */
719
+ export type SelectOptionRequest = Message<"browserscale.v1.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 browserscale.v1.SelectOptionRequest.
773
+ * Use `create(SelectOptionRequestSchema)` to create a new message.
774
+ */
775
+ export declare const SelectOptionRequestSchema: GenMessage<SelectOptionRequest>;
776
+ /**
777
+ * @generated from message browserscale.v1.ScrollToRequest
778
+ */
779
+ export type ScrollToRequest = Message<"browserscale.v1.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 browserscale.v1.ScrollToRequest.
811
+ * Use `create(ScrollToRequestSchema)` to create a new message.
812
+ */
813
+ export declare const ScrollToRequestSchema: GenMessage<ScrollToRequest>;
814
+ /**
815
+ * @generated from message browserscale.v1.MoveToRequest
816
+ */
817
+ export type MoveToRequest = Message<"browserscale.v1.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 browserscale.v1.MoveToRequest.
859
+ * Use `create(MoveToRequestSchema)` to create a new message.
860
+ */
861
+ export declare const MoveToRequestSchema: GenMessage<MoveToRequest>;
862
+ /**
863
+ * @generated from message browserscale.v1.ClickRequest
864
+ */
865
+ export type ClickRequest = Message<"browserscale.v1.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 browserscale.v1.ClickRequest.
925
+ * Use `create(ClickRequestSchema)` to create a new message.
926
+ */
927
+ export declare const ClickRequestSchema: GenMessage<ClickRequest>;
928
+ /**
929
+ * @generated from message browserscale.v1.DragRequest
930
+ */
931
+ export type DragRequest = Message<"browserscale.v1.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 browserscale.v1.DragRequest.
981
+ * Use `create(DragRequestSchema)` to create a new message.
982
+ */
983
+ export declare const DragRequestSchema: GenMessage<DragRequest>;
984
+ /**
985
+ * @generated from message browserscale.v1.FillRequest
986
+ */
987
+ export type FillRequest = Message<"browserscale.v1.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 browserscale.v1.FillRequest.
1030
+ * Use `create(FillRequestSchema)` to create a new message.
1031
+ */
1032
+ export declare const FillRequestSchema: GenMessage<FillRequest>;
1033
+ /**
1034
+ * @generated from message browserscale.v1.SetBlockListRequest
1035
+ */
1036
+ export type SetBlockListRequest = Message<"browserscale.v1.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 browserscale.v1.SetBlockListRequest.
1054
+ * Use `create(SetBlockListRequestSchema)` to create a new message.
1055
+ */
1056
+ export declare const SetBlockListRequestSchema: GenMessage<SetBlockListRequest>;
1057
+ /**
1058
+ * @generated from message browserscale.v1.SetStaticPathsRequest
1059
+ */
1060
+ export type SetStaticPathsRequest = Message<"browserscale.v1.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 browserscale.v1.SetStaticPathsRequest.
1082
+ * Use `create(SetStaticPathsRequestSchema)` to create a new message.
1083
+ */
1084
+ export declare const SetStaticPathsRequestSchema: GenMessage<SetStaticPathsRequest>;
1085
+ /**
1086
+ * @generated from message browserscale.v1.WaitForAnyRequestRequest
1087
+ */
1088
+ export type WaitForAnyRequestRequest = Message<"browserscale.v1.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 browserscale.v1.WaitForAnyRequestRequest.
1114
+ * Use `create(WaitForAnyRequestRequestSchema)` to create a new message.
1115
+ */
1116
+ export declare const WaitForAnyRequestRequestSchema: GenMessage<WaitForAnyRequestRequest>;
1117
+ /**
1118
+ * @generated from message browserscale.v1.WaitForAnyRequestResponse
1119
+ */
1120
+ export type WaitForAnyRequestResponse = Message<"browserscale.v1.WaitForAnyRequestResponse"> & {
1121
+ /**
1122
+ * @generated from field: int32 index = 1;
1123
+ */
1124
+ index: number;
1125
+ /**
1126
+ * @generated from field: browserscale.v1.InterceptedRequest request = 2;
1127
+ */
1128
+ request?: InterceptedRequest;
1129
+ };
1130
+ /**
1131
+ * Describes the message browserscale.v1.WaitForAnyRequestResponse.
1132
+ * Use `create(WaitForAnyRequestResponseSchema)` to create a new message.
1133
+ */
1134
+ export declare const WaitForAnyRequestResponseSchema: GenMessage<WaitForAnyRequestResponse>;
1135
+ /**
1136
+ * @generated from message browserscale.v1.WaitForAnyResponseRequest
1137
+ */
1138
+ export type WaitForAnyResponseRequest = Message<"browserscale.v1.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 browserscale.v1.WaitForAnyResponseRequest.
1164
+ * Use `create(WaitForAnyResponseRequestSchema)` to create a new message.
1165
+ */
1166
+ export declare const WaitForAnyResponseRequestSchema: GenMessage<WaitForAnyResponseRequest>;
1167
+ /**
1168
+ * @generated from message browserscale.v1.WaitForAnyResponseResponse
1169
+ */
1170
+ export type WaitForAnyResponseResponse = Message<"browserscale.v1.WaitForAnyResponseResponse"> & {
1171
+ /**
1172
+ * @generated from field: int32 index = 1;
1173
+ */
1174
+ index: number;
1175
+ /**
1176
+ * @generated from field: browserscale.v1.InterceptedResponse response = 2;
1177
+ */
1178
+ response?: InterceptedResponse;
1179
+ };
1180
+ /**
1181
+ * Describes the message browserscale.v1.WaitForAnyResponseResponse.
1182
+ * Use `create(WaitForAnyResponseResponseSchema)` to create a new message.
1183
+ */
1184
+ export declare const WaitForAnyResponseResponseSchema: GenMessage<WaitForAnyResponseResponse>;
1185
+ /**
1186
+ * @generated from message browserscale.v1.ModifyRequestRequest
1187
+ */
1188
+ export type ModifyRequestRequest = Message<"browserscale.v1.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 browserscale.v1.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 browserscale.v1.ModifyRequestRequest.
1218
+ * Use `create(ModifyRequestRequestSchema)` to create a new message.
1219
+ */
1220
+ export declare const ModifyRequestRequestSchema: GenMessage<ModifyRequestRequest>;
1221
+ /**
1222
+ * @generated from message browserscale.v1.ModifyRequestResponse
1223
+ */
1224
+ export type ModifyRequestResponse = Message<"browserscale.v1.ModifyRequestResponse"> & {
1225
+ /**
1226
+ * @generated from field: browserscale.v1.InterceptedRequest request = 1;
1227
+ */
1228
+ request?: InterceptedRequest;
1229
+ };
1230
+ /**
1231
+ * Describes the message browserscale.v1.ModifyRequestResponse.
1232
+ * Use `create(ModifyRequestResponseSchema)` to create a new message.
1233
+ */
1234
+ export declare const ModifyRequestResponseSchema: GenMessage<ModifyRequestResponse>;
1235
+ /**
1236
+ * @generated from message browserscale.v1.GetCookiesRequest
1237
+ */
1238
+ export type GetCookiesRequest = Message<"browserscale.v1.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 browserscale.v1.GetCookiesRequest.
1250
+ * Use `create(GetCookiesRequestSchema)` to create a new message.
1251
+ */
1252
+ export declare const GetCookiesRequestSchema: GenMessage<GetCookiesRequest>;
1253
+ /**
1254
+ * @generated from message browserscale.v1.GetCookiesResponse
1255
+ */
1256
+ export type GetCookiesResponse = Message<"browserscale.v1.GetCookiesResponse"> & {
1257
+ /**
1258
+ * @generated from field: repeated browserscale.v1.CookieParam cookies = 1;
1259
+ */
1260
+ cookies: CookieParam[];
1261
+ };
1262
+ /**
1263
+ * Describes the message browserscale.v1.GetCookiesResponse.
1264
+ * Use `create(GetCookiesResponseSchema)` to create a new message.
1265
+ */
1266
+ export declare const GetCookiesResponseSchema: GenMessage<GetCookiesResponse>;
1267
+ /**
1268
+ * @generated from message browserscale.v1.SetCookiesRequest
1269
+ */
1270
+ export type SetCookiesRequest = Message<"browserscale.v1.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 browserscale.v1.CookieParam cookies = 3;
1281
+ */
1282
+ cookies: CookieParam[];
1283
+ };
1284
+ /**
1285
+ * Describes the message browserscale.v1.SetCookiesRequest.
1286
+ * Use `create(SetCookiesRequestSchema)` to create a new message.
1287
+ */
1288
+ export declare const SetCookiesRequestSchema: GenMessage<SetCookiesRequest>;
1289
+ /**
1290
+ * @generated from message browserscale.v1.ClearCookiesRequest
1291
+ */
1292
+ export type ClearCookiesRequest = Message<"browserscale.v1.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 browserscale.v1.ClearCookiesRequest.
1304
+ * Use `create(ClearCookiesRequestSchema)` to create a new message.
1305
+ */
1306
+ export declare const ClearCookiesRequestSchema: GenMessage<ClearCookiesRequest>;
1307
+ /**
1308
+ * @generated from message browserscale.v1.StorageItem
1309
+ */
1310
+ export type StorageItem = Message<"browserscale.v1.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 browserscale.v1.StorageItem.
1326
+ * Use `create(StorageItemSchema)` to create a new message.
1327
+ */
1328
+ export declare const StorageItemSchema: GenMessage<StorageItem>;
1329
+ /**
1330
+ * @generated from message browserscale.v1.StorageOriginEntry
1331
+ */
1332
+ export type StorageOriginEntry = Message<"browserscale.v1.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 browserscale.v1.StorageItem items = 2;
1343
+ */
1344
+ items: StorageItem[];
1345
+ };
1346
+ /**
1347
+ * Describes the message browserscale.v1.StorageOriginEntry.
1348
+ * Use `create(StorageOriginEntrySchema)` to create a new message.
1349
+ */
1350
+ export declare const StorageOriginEntrySchema: GenMessage<StorageOriginEntry>;
1351
+ /**
1352
+ * @generated from message browserscale.v1.GetStorageRequest
1353
+ */
1354
+ export type GetStorageRequest = Message<"browserscale.v1.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 browserscale.v1.GetStorageRequest.
1373
+ * Use `create(GetStorageRequestSchema)` to create a new message.
1374
+ */
1375
+ export declare const GetStorageRequestSchema: GenMessage<GetStorageRequest>;
1376
+ /**
1377
+ * @generated from message browserscale.v1.GetStorageResponse
1378
+ */
1379
+ export type GetStorageResponse = Message<"browserscale.v1.GetStorageResponse"> & {
1380
+ /**
1381
+ * localStorage entries grouped by origin.
1382
+ *
1383
+ * @generated from field: repeated browserscale.v1.StorageOriginEntry storage = 1;
1384
+ */
1385
+ storage: StorageOriginEntry[];
1386
+ };
1387
+ /**
1388
+ * Describes the message browserscale.v1.GetStorageResponse.
1389
+ * Use `create(GetStorageResponseSchema)` to create a new message.
1390
+ */
1391
+ export declare const GetStorageResponseSchema: GenMessage<GetStorageResponse>;
1392
+ /**
1393
+ * @generated from message browserscale.v1.SetStorageRequest
1394
+ */
1395
+ export type SetStorageRequest = Message<"browserscale.v1.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 browserscale.v1.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 browserscale.v1.SetStorageRequest.
1420
+ * Use `create(SetStorageRequestSchema)` to create a new message.
1421
+ */
1422
+ export declare const SetStorageRequestSchema: GenMessage<SetStorageRequest>;
1423
+ /**
1424
+ * @generated from message browserscale.v1.ClearStorageRequest
1425
+ */
1426
+ export type ClearStorageRequest = Message<"browserscale.v1.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 browserscale.v1.ClearStorageRequest.
1444
+ * Use `create(ClearStorageRequestSchema)` to create a new message.
1445
+ */
1446
+ export declare const ClearStorageRequestSchema: GenMessage<ClearStorageRequest>;
1447
+ /**
1448
+ * @generated from message browserscale.v1.GetDOMRequest
1449
+ */
1450
+ export type GetDOMRequest = Message<"browserscale.v1.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 browserscale.v1.GetDOMRequest.
1476
+ * Use `create(GetDOMRequestSchema)` to create a new message.
1477
+ */
1478
+ export declare const GetDOMRequestSchema: GenMessage<GetDOMRequest>;
1479
+ /**
1480
+ * @generated from message browserscale.v1.GetDOMResponse
1481
+ */
1482
+ export type GetDOMResponse = Message<"browserscale.v1.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 browserscale.v1.GetDOMResponse.
1492
+ * Use `create(GetDOMResponseSchema)` to create a new message.
1493
+ */
1494
+ export declare const GetDOMResponseSchema: GenMessage<GetDOMResponse>;
1495
+ /**
1496
+ * @generated from message browserscale.v1.GetObservationRequest
1497
+ */
1498
+ export type GetObservationRequest = Message<"browserscale.v1.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 browserscale.v1.GetObservationRequest.
1526
+ * Use `create(GetObservationRequestSchema)` to create a new message.
1527
+ */
1528
+ export declare const GetObservationRequestSchema: GenMessage<GetObservationRequest>;
1529
+ /**
1530
+ * @generated from message browserscale.v1.GetObservationResponse
1531
+ */
1532
+ export type GetObservationResponse = Message<"browserscale.v1.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 browserscale.v1.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 browserscale.v1.GetDOMHashRequest
1556
+ */
1557
+ export type GetDOMHashRequest = Message<"browserscale.v1.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 browserscale.v1.GetDOMHashRequest.
1577
+ * Use `create(GetDOMHashRequestSchema)` to create a new message.
1578
+ */
1579
+ export declare const GetDOMHashRequestSchema: GenMessage<GetDOMHashRequest>;
1580
+ /**
1581
+ * @generated from message browserscale.v1.GetDOMHashResponse
1582
+ */
1583
+ export type GetDOMHashResponse = Message<"browserscale.v1.GetDOMHashResponse"> & {
1584
+ /**
1585
+ * @generated from field: string hash = 1;
1586
+ */
1587
+ hash: string;
1588
+ };
1589
+ /**
1590
+ * Describes the message browserscale.v1.GetDOMHashResponse.
1591
+ * Use `create(GetDOMHashResponseSchema)` to create a new message.
1592
+ */
1593
+ export declare const GetDOMHashResponseSchema: GenMessage<GetDOMHashResponse>;
1594
+ /**
1595
+ * @generated from message browserscale.v1.InspectAtPositionRequest
1596
+ */
1597
+ export type InspectAtPositionRequest = Message<"browserscale.v1.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 browserscale.v1.InspectAtPositionRequest.
1623
+ * Use `create(InspectAtPositionRequestSchema)` to create a new message.
1624
+ */
1625
+ export declare const InspectAtPositionRequestSchema: GenMessage<InspectAtPositionRequest>;
1626
+ /**
1627
+ * @generated from message browserscale.v1.InspectAtPositionResponse
1628
+ */
1629
+ export type InspectAtPositionResponse = Message<"browserscale.v1.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: browserscale.v1.Rect bounds = 6;
1656
+ */
1657
+ bounds?: Rect;
1658
+ };
1659
+ /**
1660
+ * Describes the message browserscale.v1.InspectAtPositionResponse.
1661
+ * Use `create(InspectAtPositionResponseSchema)` to create a new message.
1662
+ */
1663
+ export declare const InspectAtPositionResponseSchema: GenMessage<InspectAtPositionResponse>;
1664
+ /**
1665
+ * @generated from message browserscale.v1.HighlightNodeRequest
1666
+ */
1667
+ export type HighlightNodeRequest = Message<"browserscale.v1.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 browserscale.v1.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 browserscale.v1.InsertTextRequest
1701
+ */
1702
+ export type InsertTextRequest = Message<"browserscale.v1.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 browserscale.v1.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 browserscale.v1.PressKeyRequest
1731
+ */
1732
+ export type PressKeyRequest = Message<"browserscale.v1.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 browserscale.v1.PressKeyRequest.
1772
+ * Use `create(PressKeyRequestSchema)` to create a new message.
1773
+ */
1774
+ export declare const PressKeyRequestSchema: GenMessage<PressKeyRequest>;
1775
+ /**
1776
+ * @generated from message browserscale.v1.ReleaseKeyRequest
1777
+ */
1778
+ export type ReleaseKeyRequest = Message<"browserscale.v1.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 browserscale.v1.ReleaseKeyRequest.
1810
+ * Use `create(ReleaseKeyRequestSchema)` to create a new message.
1811
+ */
1812
+ export declare const ReleaseKeyRequestSchema: GenMessage<ReleaseKeyRequest>;
1813
+ /**
1814
+ * @generated from message browserscale.v1.GetSelectionRequest
1815
+ */
1816
+ export type GetSelectionRequest = Message<"browserscale.v1.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 browserscale.v1.GetSelectionRequest.
1832
+ * Use `create(GetSelectionRequestSchema)` to create a new message.
1833
+ */
1834
+ export declare const GetSelectionRequestSchema: GenMessage<GetSelectionRequest>;
1835
+ /**
1836
+ * @generated from message browserscale.v1.GetSelectionResponse
1837
+ */
1838
+ export type GetSelectionResponse = Message<"browserscale.v1.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 browserscale.v1.GetSelectionResponse.
1848
+ * Use `create(GetSelectionResponseSchema)` to create a new message.
1849
+ */
1850
+ export declare const GetSelectionResponseSchema: GenMessage<GetSelectionResponse>;
1851
+ /**
1852
+ * Screenshot captures a single image of the page's current frame. The server
1853
+ * uses a one-shot surface copy (the same mechanism as CDP
1854
+ * Page.captureScreenshot), independent of any active WRC.startStream video
1855
+ * stream, and works with both GPU (hardware) and software compositing.
1856
+ *
1857
+ * @generated from message browserscale.v1.ScreenshotRequest
1858
+ */
1859
+ export type ScreenshotRequest = Message<"browserscale.v1.ScreenshotRequest"> & {
1860
+ /**
1861
+ * @generated from field: string session_id = 1;
1862
+ */
1863
+ sessionId: string;
1864
+ /**
1865
+ * @generated from field: string api_key = 2;
1866
+ */
1867
+ apiKey: string;
1868
+ /**
1869
+ * @generated from field: string page_id = 3;
1870
+ */
1871
+ pageId: string;
1872
+ /**
1873
+ * Image format: "png" (default), "jpeg", or "webp".
1874
+ *
1875
+ * @generated from field: optional string format = 4;
1876
+ */
1877
+ format?: string;
1878
+ /**
1879
+ * Encode quality 0-100 for "jpeg"/"webp" (ignored for "png"). Default 90.
1880
+ *
1881
+ * @generated from field: optional int32 quality = 5;
1882
+ */
1883
+ quality?: number;
1884
+ };
1885
+ /**
1886
+ * Describes the message browserscale.v1.ScreenshotRequest.
1887
+ * Use `create(ScreenshotRequestSchema)` to create a new message.
1888
+ */
1889
+ export declare const ScreenshotRequestSchema: GenMessage<ScreenshotRequest>;
1890
+ /**
1891
+ * @generated from message browserscale.v1.ScreenshotResponse
1892
+ */
1893
+ export type ScreenshotResponse = Message<"browserscale.v1.ScreenshotResponse"> & {
1894
+ /**
1895
+ * Encoded image bytes as base64 (PNG by default).
1896
+ *
1897
+ * @generated from field: string data_base64 = 1;
1898
+ */
1899
+ dataBase64: string;
1900
+ /**
1901
+ * Image width in physical pixels.
1902
+ *
1903
+ * @generated from field: int32 width = 2;
1904
+ */
1905
+ width: number;
1906
+ /**
1907
+ * Image height in physical pixels.
1908
+ *
1909
+ * @generated from field: int32 height = 3;
1910
+ */
1911
+ height: number;
1912
+ };
1913
+ /**
1914
+ * Describes the message browserscale.v1.ScreenshotResponse.
1915
+ * Use `create(ScreenshotResponseSchema)` to create a new message.
1916
+ */
1917
+ export declare const ScreenshotResponseSchema: GenMessage<ScreenshotResponse>;
1918
+ /**
1919
+ * @generated from message browserscale.v1.SolveCaptchaRequest
1920
+ */
1921
+ export type SolveCaptchaRequest = Message<"browserscale.v1.SolveCaptchaRequest"> & {
1922
+ /**
1923
+ * @generated from field: string session_id = 1;
1924
+ */
1925
+ sessionId: string;
1926
+ /**
1927
+ * @generated from field: string api_key = 2;
1928
+ */
1929
+ apiKey: string;
1930
+ /**
1931
+ * Total time budget in ms. 0 = server default (60s).
1932
+ *
1933
+ * @generated from field: int32 timeout_ms = 3;
1934
+ */
1935
+ timeoutMs: number;
1936
+ /**
1937
+ * Retry the solve flow this many times before giving up.
1938
+ *
1939
+ * @generated from field: int32 retry_amount = 4;
1940
+ */
1941
+ retryAmount: number;
1942
+ };
1943
+ /**
1944
+ * Describes the message browserscale.v1.SolveCaptchaRequest.
1945
+ * Use `create(SolveCaptchaRequestSchema)` to create a new message.
1946
+ */
1947
+ export declare const SolveCaptchaRequestSchema: GenMessage<SolveCaptchaRequest>;
1948
+ /**
1949
+ * @generated from message browserscale.v1.SolveCaptchaResponse
1950
+ */
1951
+ export type SolveCaptchaResponse = Message<"browserscale.v1.SolveCaptchaResponse"> & {
1952
+ /**
1953
+ * Solution token returned by the underlying challenge, when applicable.
1954
+ * Empty on success — most challenges are completed in-page server-side
1955
+ * and require no further action from the caller. Empty on failure too.
1956
+ *
1957
+ * @generated from field: string result = 1;
1958
+ */
1959
+ result: string;
1960
+ };
1961
+ /**
1962
+ * Describes the message browserscale.v1.SolveCaptchaResponse.
1963
+ * Use `create(SolveCaptchaResponseSchema)` to create a new message.
1964
+ */
1965
+ export declare const SolveCaptchaResponseSchema: GenMessage<SolveCaptchaResponse>;
1966
+ /**
1967
+ * @generated from service browserscale.v1.Browser
1968
+ */
1969
+ export declare const Browser: GenService<{
1970
+ /**
1971
+ * Context-level
1972
+ *
1973
+ * @generated from rpc browserscale.v1.Browser.SetProxy
1974
+ */
1975
+ setProxy: {
1976
+ methodKind: "unary";
1977
+ input: typeof SetProxyRequestSchema;
1978
+ output: typeof EmptySchema;
1979
+ };
1980
+ /**
1981
+ * @generated from rpc browserscale.v1.Browser.GetPages
1982
+ */
1983
+ getPages: {
1984
+ methodKind: "unary";
1985
+ input: typeof GetPagesRequestSchema;
1986
+ output: typeof GetPagesResponseSchema;
1987
+ };
1988
+ /**
1989
+ * Page navigation / content
1990
+ *
1991
+ * @generated from rpc browserscale.v1.Browser.Navigate
1992
+ */
1993
+ navigate: {
1994
+ methodKind: "unary";
1995
+ input: typeof NavigateRequestSchema;
1996
+ output: typeof NavigateResponseSchema;
1997
+ };
1998
+ /**
1999
+ * @generated from rpc browserscale.v1.Browser.LoadHTML
2000
+ */
2001
+ loadHTML: {
2002
+ methodKind: "unary";
2003
+ input: typeof LoadHTMLRequestSchema;
2004
+ output: typeof EmptySchema;
2005
+ };
2006
+ /**
2007
+ * Evaluation
2008
+ *
2009
+ * @generated from rpc browserscale.v1.Browser.Evaluate
2010
+ */
2011
+ evaluate: {
2012
+ methodKind: "unary";
2013
+ input: typeof EvaluateRequestSchema;
2014
+ output: typeof EvaluateResponseSchema;
2015
+ };
2016
+ /**
2017
+ * Waiting
2018
+ *
2019
+ * @generated from rpc browserscale.v1.Browser.WaitForAny
2020
+ */
2021
+ waitForAny: {
2022
+ methodKind: "unary";
2023
+ input: typeof WaitForAnyParamsSchema;
2024
+ output: typeof WaitResultSchema;
2025
+ };
2026
+ /**
2027
+ * Element actions
2028
+ *
2029
+ * @generated from rpc browserscale.v1.Browser.SelectOption
2030
+ */
2031
+ selectOption: {
2032
+ methodKind: "unary";
2033
+ input: typeof SelectOptionRequestSchema;
2034
+ output: typeof SelectOptionResultSchema;
2035
+ };
2036
+ /**
2037
+ * @generated from rpc browserscale.v1.Browser.ScrollTo
2038
+ */
2039
+ scrollTo: {
2040
+ methodKind: "unary";
2041
+ input: typeof ScrollToRequestSchema;
2042
+ output: typeof ElementResultSchema;
2043
+ };
2044
+ /**
2045
+ * @generated from rpc browserscale.v1.Browser.MoveTo
2046
+ */
2047
+ moveTo: {
2048
+ methodKind: "unary";
2049
+ input: typeof MoveToRequestSchema;
2050
+ output: typeof ElementResultSchema;
2051
+ };
2052
+ /**
2053
+ * @generated from rpc browserscale.v1.Browser.Click
2054
+ */
2055
+ click: {
2056
+ methodKind: "unary";
2057
+ input: typeof ClickRequestSchema;
2058
+ output: typeof ElementResultSchema;
2059
+ };
2060
+ /**
2061
+ * @generated from rpc browserscale.v1.Browser.Drag
2062
+ */
2063
+ drag: {
2064
+ methodKind: "unary";
2065
+ input: typeof DragRequestSchema;
2066
+ output: typeof DragResultSchema;
2067
+ };
2068
+ /**
2069
+ * @generated from rpc browserscale.v1.Browser.Fill
2070
+ */
2071
+ fill: {
2072
+ methodKind: "unary";
2073
+ input: typeof FillRequestSchema;
2074
+ output: typeof ElementResultSchema;
2075
+ };
2076
+ /**
2077
+ * Network interception
2078
+ *
2079
+ * @generated from rpc browserscale.v1.Browser.SetBlockList
2080
+ */
2081
+ setBlockList: {
2082
+ methodKind: "unary";
2083
+ input: typeof SetBlockListRequestSchema;
2084
+ output: typeof EmptySchema;
2085
+ };
2086
+ /**
2087
+ * @generated from rpc browserscale.v1.Browser.SetStaticPaths
2088
+ */
2089
+ setStaticPaths: {
2090
+ methodKind: "unary";
2091
+ input: typeof SetStaticPathsRequestSchema;
2092
+ output: typeof EmptySchema;
2093
+ };
2094
+ /**
2095
+ * @generated from rpc browserscale.v1.Browser.WaitForAnyRequest
2096
+ */
2097
+ waitForAnyRequest: {
2098
+ methodKind: "unary";
2099
+ input: typeof WaitForAnyRequestRequestSchema;
2100
+ output: typeof WaitForAnyRequestResponseSchema;
2101
+ };
2102
+ /**
2103
+ * @generated from rpc browserscale.v1.Browser.WaitForAnyResponse
2104
+ */
2105
+ waitForAnyResponse: {
2106
+ methodKind: "unary";
2107
+ input: typeof WaitForAnyResponseRequestSchema;
2108
+ output: typeof WaitForAnyResponseResponseSchema;
2109
+ };
2110
+ /**
2111
+ * @generated from rpc browserscale.v1.Browser.ModifyRequest
2112
+ */
2113
+ modifyRequest: {
2114
+ methodKind: "unary";
2115
+ input: typeof ModifyRequestRequestSchema;
2116
+ output: typeof ModifyRequestResponseSchema;
2117
+ };
2118
+ /**
2119
+ * Cookies
2120
+ *
2121
+ * @generated from rpc browserscale.v1.Browser.GetCookies
2122
+ */
2123
+ getCookies: {
2124
+ methodKind: "unary";
2125
+ input: typeof GetCookiesRequestSchema;
2126
+ output: typeof GetCookiesResponseSchema;
2127
+ };
2128
+ /**
2129
+ * @generated from rpc browserscale.v1.Browser.SetCookies
2130
+ */
2131
+ setCookies: {
2132
+ methodKind: "unary";
2133
+ input: typeof SetCookiesRequestSchema;
2134
+ output: typeof EmptySchema;
2135
+ };
2136
+ /**
2137
+ * @generated from rpc browserscale.v1.Browser.ClearCookies
2138
+ */
2139
+ clearCookies: {
2140
+ methodKind: "unary";
2141
+ input: typeof ClearCookiesRequestSchema;
2142
+ output: typeof EmptySchema;
2143
+ };
2144
+ /**
2145
+ * Storage (localStorage)
2146
+ *
2147
+ * @generated from rpc browserscale.v1.Browser.GetStorage
2148
+ */
2149
+ getStorage: {
2150
+ methodKind: "unary";
2151
+ input: typeof GetStorageRequestSchema;
2152
+ output: typeof GetStorageResponseSchema;
2153
+ };
2154
+ /**
2155
+ * @generated from rpc browserscale.v1.Browser.SetStorage
2156
+ */
2157
+ setStorage: {
2158
+ methodKind: "unary";
2159
+ input: typeof SetStorageRequestSchema;
2160
+ output: typeof EmptySchema;
2161
+ };
2162
+ /**
2163
+ * @generated from rpc browserscale.v1.Browser.ClearStorage
2164
+ */
2165
+ clearStorage: {
2166
+ methodKind: "unary";
2167
+ input: typeof ClearStorageRequestSchema;
2168
+ output: typeof EmptySchema;
2169
+ };
2170
+ /**
2171
+ * DOM / observation
2172
+ *
2173
+ * @generated from rpc browserscale.v1.Browser.GetDOM
2174
+ */
2175
+ getDOM: {
2176
+ methodKind: "unary";
2177
+ input: typeof GetDOMRequestSchema;
2178
+ output: typeof GetDOMResponseSchema;
2179
+ };
2180
+ /**
2181
+ * @generated from rpc browserscale.v1.Browser.GetDOMHash
2182
+ */
2183
+ getDOMHash: {
2184
+ methodKind: "unary";
2185
+ input: typeof GetDOMHashRequestSchema;
2186
+ output: typeof GetDOMHashResponseSchema;
2187
+ };
2188
+ /**
2189
+ * @generated from rpc browserscale.v1.Browser.GetObservation
2190
+ */
2191
+ getObservation: {
2192
+ methodKind: "unary";
2193
+ input: typeof GetObservationRequestSchema;
2194
+ output: typeof GetObservationResponseSchema;
2195
+ };
2196
+ /**
2197
+ * @generated from rpc browserscale.v1.Browser.InspectAtPosition
2198
+ */
2199
+ inspectAtPosition: {
2200
+ methodKind: "unary";
2201
+ input: typeof InspectAtPositionRequestSchema;
2202
+ output: typeof InspectAtPositionResponseSchema;
2203
+ };
2204
+ /**
2205
+ * @generated from rpc browserscale.v1.Browser.HighlightNode
2206
+ */
2207
+ highlightNode: {
2208
+ methodKind: "unary";
2209
+ input: typeof HighlightNodeRequestSchema;
2210
+ output: typeof EmptySchema;
2211
+ };
2212
+ /**
2213
+ * Screenshot / capture
2214
+ *
2215
+ * @generated from rpc browserscale.v1.Browser.Screenshot
2216
+ */
2217
+ screenshot: {
2218
+ methodKind: "unary";
2219
+ input: typeof ScreenshotRequestSchema;
2220
+ output: typeof ScreenshotResponseSchema;
2221
+ };
2222
+ /**
2223
+ * Keyboard / IME (used by the live browser UI on top of the WebRTC stream)
2224
+ *
2225
+ * @generated from rpc browserscale.v1.Browser.InsertText
2226
+ */
2227
+ insertText: {
2228
+ methodKind: "unary";
2229
+ input: typeof InsertTextRequestSchema;
2230
+ output: typeof EmptySchema;
2231
+ };
2232
+ /**
2233
+ * @generated from rpc browserscale.v1.Browser.PressKey
2234
+ */
2235
+ pressKey: {
2236
+ methodKind: "unary";
2237
+ input: typeof PressKeyRequestSchema;
2238
+ output: typeof EmptySchema;
2239
+ };
2240
+ /**
2241
+ * @generated from rpc browserscale.v1.Browser.ReleaseKey
2242
+ */
2243
+ releaseKey: {
2244
+ methodKind: "unary";
2245
+ input: typeof ReleaseKeyRequestSchema;
2246
+ output: typeof EmptySchema;
2247
+ };
2248
+ /**
2249
+ * @generated from rpc browserscale.v1.Browser.GetSelection
2250
+ */
2251
+ getSelection: {
2252
+ methodKind: "unary";
2253
+ input: typeof GetSelectionRequestSchema;
2254
+ output: typeof GetSelectionResponseSchema;
2255
+ };
2256
+ /**
2257
+ * Captcha solver
2258
+ *
2259
+ * @generated from rpc browserscale.v1.Browser.SolveCaptcha
2260
+ */
2261
+ solveCaptcha: {
2262
+ methodKind: "unary";
2263
+ input: typeof SolveCaptchaRequestSchema;
2264
+ output: typeof SolveCaptchaResponseSchema;
2265
+ };
2266
+ }>;