airbrowser-client 1.13.1 → 1.14.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.
- package/.openapi-generator/FILES +6 -0
- package/README.md +11 -5
- package/api.ts +867 -464
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +383 -35
- package/dist/api.js +150 -24
- package/dist/esm/api.d.ts +383 -35
- package/dist/esm/api.js +149 -23
- package/docs/BrowserApi.md +72 -12
- package/docs/DetectCoordinatesData.md +48 -0
- package/docs/DetectCoordinatesRequest.md +15 -3
- package/docs/DetectCoordinatesResult.md +24 -0
- package/docs/GuiClickData.md +44 -0
- package/docs/GuiClickRequest.md +22 -6
- package/docs/GuiClickResult.md +24 -0
- package/docs/GuiClickXYRequest.md +40 -0
- package/docs/HealthApi.md +0 -1
- package/docs/PoolApi.md +0 -1
- package/docs/ProfilesApi.md +0 -1
- package/docs/WhatIsVisibleRequest.md +22 -0
- package/index.ts +1 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Undetectable Chrome-in-Docker for developers and agents (REST + MCP)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -173,19 +173,135 @@ export interface CreateProfileRequest {
|
|
|
173
173
|
*/
|
|
174
174
|
'name': string;
|
|
175
175
|
}
|
|
176
|
+
export interface DetectCoordinatesData {
|
|
177
|
+
/**
|
|
178
|
+
* Element description used
|
|
179
|
+
*/
|
|
180
|
+
'prompt'?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Element bounding box {x, y, width, height}
|
|
183
|
+
*/
|
|
184
|
+
'bounding_box'?: object;
|
|
185
|
+
/**
|
|
186
|
+
* Recommended click point {x, y}
|
|
187
|
+
*/
|
|
188
|
+
'click_point'?: object;
|
|
189
|
+
/**
|
|
190
|
+
* Detection confidence (0.0-1.0)
|
|
191
|
+
*/
|
|
192
|
+
'confidence'?: number;
|
|
193
|
+
/**
|
|
194
|
+
* Machine-readable detect outcome status
|
|
195
|
+
*/
|
|
196
|
+
'outcome_status'?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Machine-readable detect reason code
|
|
199
|
+
*/
|
|
200
|
+
'reason'?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Human-readable reason detail
|
|
203
|
+
*/
|
|
204
|
+
'reason_detail'?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Resolved target details after validation or snapping
|
|
207
|
+
*/
|
|
208
|
+
'resolved_target'?: object;
|
|
209
|
+
/**
|
|
210
|
+
* Validated or snapped click point {x, y}
|
|
211
|
+
*/
|
|
212
|
+
'resolved_click_point'?: object;
|
|
213
|
+
/**
|
|
214
|
+
* Details about any snap candidate that was applied
|
|
215
|
+
*/
|
|
216
|
+
'snap_result'?: object;
|
|
217
|
+
/**
|
|
218
|
+
* Suggested next action for callers
|
|
219
|
+
*/
|
|
220
|
+
'recommended_next_action'?: string;
|
|
221
|
+
/**
|
|
222
|
+
* URL to the screenshot
|
|
223
|
+
*/
|
|
224
|
+
'screenshot_url'?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Original screenshot dimensions
|
|
227
|
+
*/
|
|
228
|
+
'image_size'?: object;
|
|
229
|
+
/**
|
|
230
|
+
* Coordinate transform metadata
|
|
231
|
+
*/
|
|
232
|
+
'transform_info'?: object;
|
|
233
|
+
/**
|
|
234
|
+
* Optional smart-targeting debug details
|
|
235
|
+
*/
|
|
236
|
+
'debug'?: object;
|
|
237
|
+
}
|
|
176
238
|
export interface DetectCoordinatesRequest {
|
|
177
239
|
/**
|
|
178
|
-
*
|
|
240
|
+
* Natural language description of element to find
|
|
179
241
|
*/
|
|
180
242
|
'prompt': string;
|
|
181
243
|
/**
|
|
182
|
-
*
|
|
244
|
+
* Relative X (0..1) within the detected element
|
|
183
245
|
*/
|
|
184
246
|
'fx'?: number;
|
|
185
247
|
/**
|
|
186
|
-
*
|
|
248
|
+
* Relative Y (0..1) within the detected element
|
|
187
249
|
*/
|
|
188
250
|
'fy'?: number;
|
|
251
|
+
/**
|
|
252
|
+
* Optional vision model override for this request
|
|
253
|
+
*/
|
|
254
|
+
'model'?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Optional vision streaming override for this request
|
|
257
|
+
*/
|
|
258
|
+
'stream'?: boolean;
|
|
259
|
+
/**
|
|
260
|
+
* Detect-time validation mode
|
|
261
|
+
*/
|
|
262
|
+
'hit_test'?: DetectCoordinatesRequestHitTestEnum;
|
|
263
|
+
/**
|
|
264
|
+
* Auto-snap mode for nearby targets
|
|
265
|
+
*/
|
|
266
|
+
'auto_snap'?: DetectCoordinatesRequestAutoSnapEnum;
|
|
267
|
+
/**
|
|
268
|
+
* Maximum snap radius in CSS pixels
|
|
269
|
+
*/
|
|
270
|
+
'snap_radius'?: number;
|
|
271
|
+
/**
|
|
272
|
+
* Include smart-targeting debug details
|
|
273
|
+
*/
|
|
274
|
+
'include_debug'?: boolean;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export const DetectCoordinatesRequestHitTestEnum = {
|
|
278
|
+
Off: 'off',
|
|
279
|
+
Warn: 'warn',
|
|
280
|
+
Strict: 'strict',
|
|
281
|
+
} as const;
|
|
282
|
+
|
|
283
|
+
export type DetectCoordinatesRequestHitTestEnum = typeof DetectCoordinatesRequestHitTestEnum[keyof typeof DetectCoordinatesRequestHitTestEnum];
|
|
284
|
+
export const DetectCoordinatesRequestAutoSnapEnum = {
|
|
285
|
+
Off: 'off',
|
|
286
|
+
NearestClickable: 'nearest_clickable',
|
|
287
|
+
NearestInteractive: 'nearest_interactive',
|
|
288
|
+
} as const;
|
|
289
|
+
|
|
290
|
+
export type DetectCoordinatesRequestAutoSnapEnum = typeof DetectCoordinatesRequestAutoSnapEnum[keyof typeof DetectCoordinatesRequestAutoSnapEnum];
|
|
291
|
+
|
|
292
|
+
export interface DetectCoordinatesResult {
|
|
293
|
+
/**
|
|
294
|
+
* Operation success
|
|
295
|
+
*/
|
|
296
|
+
'success'?: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* Success message
|
|
299
|
+
*/
|
|
300
|
+
'message'?: string;
|
|
301
|
+
/**
|
|
302
|
+
* Detect response payload
|
|
303
|
+
*/
|
|
304
|
+
'data'?: DetectCoordinatesData;
|
|
189
305
|
}
|
|
190
306
|
export interface DialogRequest {
|
|
191
307
|
/**
|
|
@@ -299,32 +415,228 @@ export interface GenericResponse {
|
|
|
299
415
|
*/
|
|
300
416
|
'data'?: object;
|
|
301
417
|
}
|
|
418
|
+
export interface GuiClickData {
|
|
419
|
+
/**
|
|
420
|
+
* Legacy inner status
|
|
421
|
+
*/
|
|
422
|
+
'status'?: string;
|
|
423
|
+
/**
|
|
424
|
+
* Legacy inner success flag
|
|
425
|
+
*/
|
|
426
|
+
'success'?: boolean;
|
|
427
|
+
/**
|
|
428
|
+
* Legacy inner message
|
|
429
|
+
*/
|
|
430
|
+
'message'?: string;
|
|
431
|
+
/**
|
|
432
|
+
* Requested or resolved screen X coordinate
|
|
433
|
+
*/
|
|
434
|
+
'x'?: number;
|
|
435
|
+
/**
|
|
436
|
+
* Requested or resolved screen Y coordinate
|
|
437
|
+
*/
|
|
438
|
+
'y'?: number;
|
|
439
|
+
/**
|
|
440
|
+
* Machine-readable click outcome status
|
|
441
|
+
*/
|
|
442
|
+
'outcome_status'?: string;
|
|
443
|
+
/**
|
|
444
|
+
* Machine-readable click reason code
|
|
445
|
+
*/
|
|
446
|
+
'reason'?: string;
|
|
447
|
+
/**
|
|
448
|
+
* Human-readable reason detail
|
|
449
|
+
*/
|
|
450
|
+
'reason_detail'?: string;
|
|
451
|
+
/**
|
|
452
|
+
* Pre-click validation details
|
|
453
|
+
*/
|
|
454
|
+
'precheck'?: object;
|
|
455
|
+
/**
|
|
456
|
+
* Click execution details
|
|
457
|
+
*/
|
|
458
|
+
'execution'?: object;
|
|
459
|
+
/**
|
|
460
|
+
* Post-click feedback details
|
|
461
|
+
*/
|
|
462
|
+
'postcheck'?: object;
|
|
463
|
+
/**
|
|
464
|
+
* Suggested next action for callers
|
|
465
|
+
*/
|
|
466
|
+
'recommended_next_action'?: string;
|
|
467
|
+
/**
|
|
468
|
+
* Optional smart-click debug details
|
|
469
|
+
*/
|
|
470
|
+
'debug'?: object;
|
|
471
|
+
}
|
|
302
472
|
export interface GuiClickRequest {
|
|
303
473
|
/**
|
|
304
|
-
* selector
|
|
474
|
+
* Element selector (CSS or XPath)
|
|
305
475
|
*/
|
|
306
476
|
'selector'?: string;
|
|
307
477
|
/**
|
|
308
|
-
*
|
|
478
|
+
* Screen X coordinate (coordinate mode)
|
|
309
479
|
*/
|
|
310
480
|
'x'?: number;
|
|
311
481
|
/**
|
|
312
|
-
*
|
|
482
|
+
* Screen Y coordinate (coordinate mode)
|
|
313
483
|
*/
|
|
314
484
|
'y'?: number;
|
|
315
485
|
/**
|
|
316
|
-
*
|
|
486
|
+
* Mouse move duration (seconds)
|
|
317
487
|
*/
|
|
318
488
|
'timeframe'?: number;
|
|
319
489
|
/**
|
|
320
|
-
*
|
|
490
|
+
* Relative X (0..1) within element to click
|
|
321
491
|
*/
|
|
322
492
|
'fx'?: number;
|
|
323
493
|
/**
|
|
324
|
-
*
|
|
494
|
+
* Relative Y (0..1) within element to click
|
|
325
495
|
*/
|
|
326
496
|
'fy'?: number;
|
|
497
|
+
/**
|
|
498
|
+
* Pre-click validation mode
|
|
499
|
+
*/
|
|
500
|
+
'pre_click_validate'?: GuiClickRequestPreClickValidateEnum;
|
|
501
|
+
/**
|
|
502
|
+
* Auto-snap mode for nearby targets
|
|
503
|
+
*/
|
|
504
|
+
'auto_snap'?: GuiClickRequestAutoSnapEnum;
|
|
505
|
+
/**
|
|
506
|
+
* Maximum snap radius in CSS pixels
|
|
507
|
+
*/
|
|
508
|
+
'snap_radius'?: number;
|
|
509
|
+
/**
|
|
510
|
+
* Post-click feedback mode
|
|
511
|
+
*/
|
|
512
|
+
'post_click_feedback'?: GuiClickRequestPostClickFeedbackEnum;
|
|
513
|
+
/**
|
|
514
|
+
* Post-click observation timeout in milliseconds
|
|
515
|
+
*/
|
|
516
|
+
'post_click_timeout_ms'?: number;
|
|
517
|
+
/**
|
|
518
|
+
* Include truncated content in post-click feedback
|
|
519
|
+
*/
|
|
520
|
+
'return_content'?: boolean;
|
|
521
|
+
/**
|
|
522
|
+
* Maximum returned content length
|
|
523
|
+
*/
|
|
524
|
+
'content_limit_chars'?: number;
|
|
525
|
+
/**
|
|
526
|
+
* Include smart-click debug diagnostics
|
|
527
|
+
*/
|
|
528
|
+
'include_debug'?: boolean;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
export const GuiClickRequestPreClickValidateEnum = {
|
|
532
|
+
Off: 'off',
|
|
533
|
+
Warn: 'warn',
|
|
534
|
+
Strict: 'strict',
|
|
535
|
+
} as const;
|
|
536
|
+
|
|
537
|
+
export type GuiClickRequestPreClickValidateEnum = typeof GuiClickRequestPreClickValidateEnum[keyof typeof GuiClickRequestPreClickValidateEnum];
|
|
538
|
+
export const GuiClickRequestAutoSnapEnum = {
|
|
539
|
+
Off: 'off',
|
|
540
|
+
NearestClickable: 'nearest_clickable',
|
|
541
|
+
NearestInteractive: 'nearest_interactive',
|
|
542
|
+
} as const;
|
|
543
|
+
|
|
544
|
+
export type GuiClickRequestAutoSnapEnum = typeof GuiClickRequestAutoSnapEnum[keyof typeof GuiClickRequestAutoSnapEnum];
|
|
545
|
+
export const GuiClickRequestPostClickFeedbackEnum = {
|
|
546
|
+
None: 'none',
|
|
547
|
+
Url: 'url',
|
|
548
|
+
Content: 'content',
|
|
549
|
+
Visible: 'visible',
|
|
550
|
+
Auto: 'auto',
|
|
551
|
+
} as const;
|
|
552
|
+
|
|
553
|
+
export type GuiClickRequestPostClickFeedbackEnum = typeof GuiClickRequestPostClickFeedbackEnum[keyof typeof GuiClickRequestPostClickFeedbackEnum];
|
|
554
|
+
|
|
555
|
+
export interface GuiClickResult {
|
|
556
|
+
/**
|
|
557
|
+
* Operation success
|
|
558
|
+
*/
|
|
559
|
+
'success'?: boolean;
|
|
560
|
+
/**
|
|
561
|
+
* Success message
|
|
562
|
+
*/
|
|
563
|
+
'message'?: string;
|
|
564
|
+
/**
|
|
565
|
+
* GUI click response payload
|
|
566
|
+
*/
|
|
567
|
+
'data'?: GuiClickData;
|
|
327
568
|
}
|
|
569
|
+
export interface GuiClickXYRequest {
|
|
570
|
+
/**
|
|
571
|
+
* Screen X coordinate
|
|
572
|
+
*/
|
|
573
|
+
'x': number;
|
|
574
|
+
/**
|
|
575
|
+
* Screen Y coordinate
|
|
576
|
+
*/
|
|
577
|
+
'y': number;
|
|
578
|
+
/**
|
|
579
|
+
* Mouse move duration (seconds)
|
|
580
|
+
*/
|
|
581
|
+
'timeframe'?: number;
|
|
582
|
+
/**
|
|
583
|
+
* Pre-click validation mode
|
|
584
|
+
*/
|
|
585
|
+
'pre_click_validate'?: GuiClickXYRequestPreClickValidateEnum;
|
|
586
|
+
/**
|
|
587
|
+
* Auto-snap mode for nearby targets
|
|
588
|
+
*/
|
|
589
|
+
'auto_snap'?: GuiClickXYRequestAutoSnapEnum;
|
|
590
|
+
/**
|
|
591
|
+
* Maximum snap radius in CSS pixels
|
|
592
|
+
*/
|
|
593
|
+
'snap_radius'?: number;
|
|
594
|
+
/**
|
|
595
|
+
* Post-click feedback mode
|
|
596
|
+
*/
|
|
597
|
+
'post_click_feedback'?: GuiClickXYRequestPostClickFeedbackEnum;
|
|
598
|
+
/**
|
|
599
|
+
* Post-click observation timeout in milliseconds
|
|
600
|
+
*/
|
|
601
|
+
'post_click_timeout_ms'?: number;
|
|
602
|
+
/**
|
|
603
|
+
* Include truncated content in post-click feedback
|
|
604
|
+
*/
|
|
605
|
+
'return_content'?: boolean;
|
|
606
|
+
/**
|
|
607
|
+
* Maximum returned content length
|
|
608
|
+
*/
|
|
609
|
+
'content_limit_chars'?: number;
|
|
610
|
+
/**
|
|
611
|
+
* Include smart-click debug diagnostics
|
|
612
|
+
*/
|
|
613
|
+
'include_debug'?: boolean;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export const GuiClickXYRequestPreClickValidateEnum = {
|
|
617
|
+
Off: 'off',
|
|
618
|
+
Warn: 'warn',
|
|
619
|
+
Strict: 'strict',
|
|
620
|
+
} as const;
|
|
621
|
+
|
|
622
|
+
export type GuiClickXYRequestPreClickValidateEnum = typeof GuiClickXYRequestPreClickValidateEnum[keyof typeof GuiClickXYRequestPreClickValidateEnum];
|
|
623
|
+
export const GuiClickXYRequestAutoSnapEnum = {
|
|
624
|
+
Off: 'off',
|
|
625
|
+
NearestClickable: 'nearest_clickable',
|
|
626
|
+
NearestInteractive: 'nearest_interactive',
|
|
627
|
+
} as const;
|
|
628
|
+
|
|
629
|
+
export type GuiClickXYRequestAutoSnapEnum = typeof GuiClickXYRequestAutoSnapEnum[keyof typeof GuiClickXYRequestAutoSnapEnum];
|
|
630
|
+
export const GuiClickXYRequestPostClickFeedbackEnum = {
|
|
631
|
+
None: 'none',
|
|
632
|
+
Url: 'url',
|
|
633
|
+
Content: 'content',
|
|
634
|
+
Visible: 'visible',
|
|
635
|
+
Auto: 'auto',
|
|
636
|
+
} as const;
|
|
637
|
+
|
|
638
|
+
export type GuiClickXYRequestPostClickFeedbackEnum = typeof GuiClickXYRequestPostClickFeedbackEnum[keyof typeof GuiClickXYRequestPostClickFeedbackEnum];
|
|
639
|
+
|
|
328
640
|
export interface GuiHoverXyRequest {
|
|
329
641
|
/**
|
|
330
642
|
* x
|
|
@@ -767,6 +1079,16 @@ export const WaitElementRequestUntilEnum = {
|
|
|
767
1079
|
|
|
768
1080
|
export type WaitElementRequestUntilEnum = typeof WaitElementRequestUntilEnum[keyof typeof WaitElementRequestUntilEnum];
|
|
769
1081
|
|
|
1082
|
+
export interface WhatIsVisibleRequest {
|
|
1083
|
+
/**
|
|
1084
|
+
* model
|
|
1085
|
+
*/
|
|
1086
|
+
'model'?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* stream
|
|
1089
|
+
*/
|
|
1090
|
+
'stream'?: boolean;
|
|
1091
|
+
}
|
|
770
1092
|
|
|
771
1093
|
/**
|
|
772
1094
|
* BrowserApi - axios parameter creator
|
|
@@ -774,9 +1096,9 @@ export type WaitElementRequestUntilEnum = typeof WaitElementRequestUntilEnum[key
|
|
|
774
1096
|
export const BrowserApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
775
1097
|
return {
|
|
776
1098
|
/**
|
|
777
|
-
*
|
|
1099
|
+
*
|
|
778
1100
|
* @summary Admin: list all, get info, or close all browsers
|
|
779
|
-
* @param {BrowsersRequest} payload
|
|
1101
|
+
* @param {BrowsersRequest} payload
|
|
780
1102
|
* @param {*} [options] Override http request option.
|
|
781
1103
|
* @throws {RequiredError}
|
|
782
1104
|
*/
|
|
@@ -809,9 +1131,9 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
809
1131
|
};
|
|
810
1132
|
},
|
|
811
1133
|
/**
|
|
812
|
-
*
|
|
1134
|
+
*
|
|
813
1135
|
* @summary Check if element exists or is visible
|
|
814
|
-
* @param {string} browserId
|
|
1136
|
+
* @param {string} browserId
|
|
815
1137
|
* @param {string} selector selector
|
|
816
1138
|
* @param {string} check check
|
|
817
1139
|
* @param {string} [by] by
|
|
@@ -864,8 +1186,8 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
864
1186
|
/**
|
|
865
1187
|
* Use if_visible=True to only click if visible.
|
|
866
1188
|
* @summary Click element
|
|
867
|
-
* @param {string} browserId
|
|
868
|
-
* @param {ClickRequest} payload
|
|
1189
|
+
* @param {string} browserId
|
|
1190
|
+
* @param {ClickRequest} payload
|
|
869
1191
|
* @param {*} [options] Override http request option.
|
|
870
1192
|
* @throws {RequiredError}
|
|
871
1193
|
*/
|
|
@@ -901,9 +1223,9 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
901
1223
|
};
|
|
902
1224
|
},
|
|
903
1225
|
/**
|
|
904
|
-
*
|
|
1226
|
+
*
|
|
905
1227
|
* @summary Close browser instance
|
|
906
|
-
* @param {string} browserId
|
|
1228
|
+
* @param {string} browserId
|
|
907
1229
|
* @param {*} [options] Override http request option.
|
|
908
1230
|
* @throws {RequiredError}
|
|
909
1231
|
*/
|
|
@@ -935,10 +1257,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
935
1257
|
};
|
|
936
1258
|
},
|
|
937
1259
|
/**
|
|
938
|
-
*
|
|
1260
|
+
*
|
|
939
1261
|
* @summary Console logs: get or clear
|
|
940
|
-
* @param {string} browserId
|
|
941
|
-
* @param {ConsoleLogsRequest} payload
|
|
1262
|
+
* @param {string} browserId
|
|
1263
|
+
* @param {ConsoleLogsRequest} payload
|
|
942
1264
|
* @param {*} [options] Override http request option.
|
|
943
1265
|
* @throws {RequiredError}
|
|
944
1266
|
*/
|
|
@@ -976,8 +1298,8 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
976
1298
|
/**
|
|
977
1299
|
* Actions: - get: Get all cookies (including HttpOnly via CDP) - set: Set a cookie (requires cookie dict with name, value, domain, etc.) - delete: Delete specific cookie by name (and optionally domain) - clear: Delete all cookies Examples: - Get all: action=\"get\" - Set: action=\"set\", cookie={\"name\": \"session\", \"value\": \"abc\", \"domain\": \".example.com\"} - Delete one: action=\"delete\", name=\"session\", domain=\".example.com\" - Clear all: action=\"clear\"
|
|
978
1300
|
* @summary Manage browser cookies
|
|
979
|
-
* @param {string} browserId
|
|
980
|
-
* @param {CookiesRequest} payload
|
|
1301
|
+
* @param {string} browserId
|
|
1302
|
+
* @param {CookiesRequest} payload
|
|
981
1303
|
* @param {*} [options] Override http request option.
|
|
982
1304
|
* @throws {RequiredError}
|
|
983
1305
|
*/
|
|
@@ -1013,9 +1335,9 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1013
1335
|
};
|
|
1014
1336
|
},
|
|
1015
1337
|
/**
|
|
1016
|
-
*
|
|
1338
|
+
*
|
|
1017
1339
|
* @summary Create browser instance with optional persistent profile
|
|
1018
|
-
* @param {CreateBrowserRequest} payload
|
|
1340
|
+
* @param {CreateBrowserRequest} payload
|
|
1019
1341
|
* @param {*} [options] Override http request option.
|
|
1020
1342
|
* @throws {RequiredError}
|
|
1021
1343
|
*/
|
|
@@ -1048,10 +1370,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1048
1370
|
};
|
|
1049
1371
|
},
|
|
1050
1372
|
/**
|
|
1051
|
-
* Args: browser_id: Browser instance identifier prompt: Natural language description of element to find fx: Fractional x offset for click point (0.0=left, 0.5=center, 1.0=right). If None, auto-bias is applied for wide elements (0.25 for aspect ratio > 10). fy: Fractional y offset for click point (0.0=top, 0.5=center, 1.0=bottom).
|
|
1052
|
-
* @summary Detect element coordinates using vision
|
|
1053
|
-
* @param {string} browserId
|
|
1054
|
-
* @param {DetectCoordinatesRequest} payload
|
|
1373
|
+
* Args: browser_id: Browser instance identifier prompt: Natural language description of element to find fx: Fractional x offset for click point (0.0=left, 0.5=center, 1.0=right). If None, auto-bias is applied for wide elements (0.25 for aspect ratio > 10). fy: Fractional y offset for click point (0.0=top, 0.5=center, 1.0=bottom). model: Optional vision model override for this request. stream: Optional vision streaming override for this request. hit_test: Detect-time validation mode: off, warn, or strict. Recommended for agents: `strict`. auto_snap: Auto-snap mode: off, nearest_clickable, or nearest_interactive. Recommended for agents: `nearest_clickable`. snap_radius: Maximum snap radius in CSS pixels. include_debug: Include detect debug diagnostics when available.
|
|
1374
|
+
* @summary Detect element coordinates using vision with optional smart targeting
|
|
1375
|
+
* @param {string} browserId
|
|
1376
|
+
* @param {DetectCoordinatesRequest} payload
|
|
1055
1377
|
* @param {*} [options] Override http request option.
|
|
1056
1378
|
* @throws {RequiredError}
|
|
1057
1379
|
*/
|
|
@@ -1087,10 +1409,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1087
1409
|
};
|
|
1088
1410
|
},
|
|
1089
1411
|
/**
|
|
1090
|
-
*
|
|
1412
|
+
*
|
|
1091
1413
|
* @summary Dialogs: get, accept, dismiss
|
|
1092
|
-
* @param {string} browserId
|
|
1093
|
-
* @param {DialogRequest} payload
|
|
1414
|
+
* @param {string} browserId
|
|
1415
|
+
* @param {DialogRequest} payload
|
|
1094
1416
|
* @param {*} [options] Override http request option.
|
|
1095
1417
|
* @throws {RequiredError}
|
|
1096
1418
|
*/
|
|
@@ -1126,10 +1448,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1126
1448
|
};
|
|
1127
1449
|
},
|
|
1128
1450
|
/**
|
|
1129
|
-
*
|
|
1451
|
+
*
|
|
1130
1452
|
* @summary Emulation: set, clear, list_devices
|
|
1131
|
-
* @param {string} browserId
|
|
1132
|
-
* @param {EmulateRequest} payload
|
|
1453
|
+
* @param {string} browserId
|
|
1454
|
+
* @param {EmulateRequest} payload
|
|
1133
1455
|
* @param {*} [options] Override http request option.
|
|
1134
1456
|
* @throws {RequiredError}
|
|
1135
1457
|
*/
|
|
@@ -1167,8 +1489,8 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1167
1489
|
/**
|
|
1168
1490
|
* Provides direct access to CDP methods for advanced browser control. Common use cases: - Get all cookies: method=\"Network.getAllCookies\" - Set cookie: method=\"Network.setCookie\", params={\"name\": \"...\", \"value\": \"...\", \"domain\": \"...\"} - Delete cookies: method=\"Network.deleteCookies\", params={\"name\": \"...\", \"domain\": \"...\"} Full CDP reference: https://chromedevtools.github.io/devtools-protocol/
|
|
1169
1491
|
* @summary Execute a Chrome DevTools Protocol command
|
|
1170
|
-
* @param {string} browserId
|
|
1171
|
-
* @param {ExecuteCdpRequest} payload
|
|
1492
|
+
* @param {string} browserId
|
|
1493
|
+
* @param {ExecuteCdpRequest} payload
|
|
1172
1494
|
* @param {*} [options] Override http request option.
|
|
1173
1495
|
* @throws {RequiredError}
|
|
1174
1496
|
*/
|
|
@@ -1204,10 +1526,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1204
1526
|
};
|
|
1205
1527
|
},
|
|
1206
1528
|
/**
|
|
1207
|
-
*
|
|
1529
|
+
*
|
|
1208
1530
|
* @summary Execute JavaScript
|
|
1209
|
-
* @param {string} browserId
|
|
1210
|
-
* @param {ExecuteScriptRequest} payload
|
|
1531
|
+
* @param {string} browserId
|
|
1532
|
+
* @param {ExecuteScriptRequest} payload
|
|
1211
1533
|
* @param {*} [options] Override http request option.
|
|
1212
1534
|
* @throws {RequiredError}
|
|
1213
1535
|
*/
|
|
@@ -1243,10 +1565,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1243
1565
|
};
|
|
1244
1566
|
},
|
|
1245
1567
|
/**
|
|
1246
|
-
*
|
|
1568
|
+
*
|
|
1247
1569
|
* @summary Fill multiple form fields
|
|
1248
|
-
* @param {string} browserId
|
|
1249
|
-
* @param {FillFormRequest} payload
|
|
1570
|
+
* @param {string} browserId
|
|
1571
|
+
* @param {FillFormRequest} payload
|
|
1250
1572
|
* @param {*} [options] Override http request option.
|
|
1251
1573
|
* @throws {RequiredError}
|
|
1252
1574
|
*/
|
|
@@ -1284,7 +1606,7 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1284
1606
|
/**
|
|
1285
1607
|
* Returns the WebSocket URL that external tools (Playwright, Puppeteer, etc.) can use to connect directly to Chrome\'s DevTools Protocol for advanced automation like network interception, performance profiling, or custom CDP commands. The returned URL format: ws://host:port/devtools/browser/{guid} Note: The URL uses the container\'s internal address. For external access, ensure the CDP port is exposed and use the appropriate host address.
|
|
1286
1608
|
* @summary Get Chrome DevTools Protocol WebSocket URL for direct CDP access
|
|
1287
|
-
* @param {string} browserId
|
|
1609
|
+
* @param {string} browserId
|
|
1288
1610
|
* @param {*} [options] Override http request option.
|
|
1289
1611
|
* @throws {RequiredError}
|
|
1290
1612
|
*/
|
|
@@ -1316,9 +1638,9 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1316
1638
|
};
|
|
1317
1639
|
},
|
|
1318
1640
|
/**
|
|
1319
|
-
*
|
|
1641
|
+
*
|
|
1320
1642
|
* @summary Get page HTML
|
|
1321
|
-
* @param {string} browserId
|
|
1643
|
+
* @param {string} browserId
|
|
1322
1644
|
* @param {*} [options] Override http request option.
|
|
1323
1645
|
* @throws {RequiredError}
|
|
1324
1646
|
*/
|
|
@@ -1350,9 +1672,9 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1350
1672
|
};
|
|
1351
1673
|
},
|
|
1352
1674
|
/**
|
|
1353
|
-
*
|
|
1675
|
+
*
|
|
1354
1676
|
* @summary Get element text, attribute, or property
|
|
1355
|
-
* @param {string} browserId
|
|
1677
|
+
* @param {string} browserId
|
|
1356
1678
|
* @param {string} selector selector
|
|
1357
1679
|
* @param {string} dataType data_type
|
|
1358
1680
|
* @param {string} [name] name
|
|
@@ -1408,9 +1730,9 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1408
1730
|
};
|
|
1409
1731
|
},
|
|
1410
1732
|
/**
|
|
1411
|
-
*
|
|
1733
|
+
*
|
|
1412
1734
|
* @summary Get current URL
|
|
1413
|
-
* @param {string} browserId
|
|
1735
|
+
* @param {string} browserId
|
|
1414
1736
|
* @param {*} [options] Override http request option.
|
|
1415
1737
|
* @throws {RequiredError}
|
|
1416
1738
|
*/
|
|
@@ -1442,10 +1764,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1442
1764
|
};
|
|
1443
1765
|
},
|
|
1444
1766
|
/**
|
|
1445
|
-
*
|
|
1446
|
-
* @summary GUI click by selector or coordinates
|
|
1447
|
-
* @param {string} browserId
|
|
1448
|
-
* @param {GuiClickRequest} payload
|
|
1767
|
+
* Selector mode uses `selector` with optional `fx` / `fy` offsets. Coordinate mode uses `x` / `y` and supports smart targeting knobs such as `pre_click_validate`, `auto_snap`, and `post_click_feedback`. Recommended agent mode: - `pre_click_validate=\"strict\"` - `auto_snap=\"nearest_clickable\"` - `post_click_feedback=\"auto\"` MCP keeps `gui_click_xy` as a compatibility alias for coordinate-mode `gui_click`.
|
|
1768
|
+
* @summary GUI click by selector or coordinates with smart validation
|
|
1769
|
+
* @param {string} browserId
|
|
1770
|
+
* @param {GuiClickRequest} payload
|
|
1449
1771
|
* @param {*} [options] Override http request option.
|
|
1450
1772
|
* @throws {RequiredError}
|
|
1451
1773
|
*/
|
|
@@ -1481,10 +1803,49 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1481
1803
|
};
|
|
1482
1804
|
},
|
|
1483
1805
|
/**
|
|
1484
|
-
*
|
|
1806
|
+
* This mirrors coordinate-mode `gui_click`, accepts the same smart-click options, and returns the same response contract.
|
|
1807
|
+
* @summary MCP compatibility alias for coordinate-mode `gui_click`
|
|
1808
|
+
* @param {string} browserId
|
|
1809
|
+
* @param {GuiClickXYRequest} payload
|
|
1810
|
+
* @param {*} [options] Override http request option.
|
|
1811
|
+
* @throws {RequiredError}
|
|
1812
|
+
*/
|
|
1813
|
+
guiClickXy: async (browserId: string, payload: GuiClickXYRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1814
|
+
// verify required parameter 'browserId' is not null or undefined
|
|
1815
|
+
assertParamExists('guiClickXy', 'browserId', browserId)
|
|
1816
|
+
// verify required parameter 'payload' is not null or undefined
|
|
1817
|
+
assertParamExists('guiClickXy', 'payload', payload)
|
|
1818
|
+
const localVarPath = `/browser/{browser_id}/gui_click_xy`
|
|
1819
|
+
.replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
|
|
1820
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1821
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1822
|
+
let baseOptions;
|
|
1823
|
+
if (configuration) {
|
|
1824
|
+
baseOptions = configuration.baseOptions;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1828
|
+
const localVarHeaderParameter = {} as any;
|
|
1829
|
+
const localVarQueryParameter = {} as any;
|
|
1830
|
+
|
|
1831
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1832
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1833
|
+
|
|
1834
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1835
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1836
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1837
|
+
localVarRequestOptions.data = serializeDataIfNeeded(payload, localVarRequestOptions, configuration)
|
|
1838
|
+
|
|
1839
|
+
return {
|
|
1840
|
+
url: toPathString(localVarUrlObj),
|
|
1841
|
+
options: localVarRequestOptions,
|
|
1842
|
+
};
|
|
1843
|
+
},
|
|
1844
|
+
/**
|
|
1845
|
+
*
|
|
1485
1846
|
* @summary GUI hover at coordinates
|
|
1486
|
-
* @param {string} browserId
|
|
1487
|
-
* @param {GuiHoverXyRequest} payload
|
|
1847
|
+
* @param {string} browserId
|
|
1848
|
+
* @param {GuiHoverXyRequest} payload
|
|
1488
1849
|
* @param {*} [options] Override http request option.
|
|
1489
1850
|
* @throws {RequiredError}
|
|
1490
1851
|
*/
|
|
@@ -1520,10 +1881,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1520
1881
|
};
|
|
1521
1882
|
},
|
|
1522
1883
|
/**
|
|
1523
|
-
*
|
|
1884
|
+
*
|
|
1524
1885
|
* @summary Press keys at coordinates (click to focus, then send keys)
|
|
1525
|
-
* @param {string} browserId
|
|
1526
|
-
* @param {GuiPressKeysXyRequest} payload
|
|
1886
|
+
* @param {string} browserId
|
|
1887
|
+
* @param {GuiPressKeysXyRequest} payload
|
|
1527
1888
|
* @param {*} [options] Override http request option.
|
|
1528
1889
|
* @throws {RequiredError}
|
|
1529
1890
|
*/
|
|
@@ -1559,10 +1920,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1559
1920
|
};
|
|
1560
1921
|
},
|
|
1561
1922
|
/**
|
|
1562
|
-
*
|
|
1923
|
+
*
|
|
1563
1924
|
* @summary GUI type at coordinates - clicks then types text
|
|
1564
|
-
* @param {string} browserId
|
|
1565
|
-
* @param {GuiTypeXyRequest} payload
|
|
1925
|
+
* @param {string} browserId
|
|
1926
|
+
* @param {GuiTypeXyRequest} payload
|
|
1566
1927
|
* @param {*} [options] Override http request option.
|
|
1567
1928
|
* @throws {RequiredError}
|
|
1568
1929
|
*/
|
|
@@ -1598,10 +1959,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1598
1959
|
};
|
|
1599
1960
|
},
|
|
1600
1961
|
/**
|
|
1601
|
-
*
|
|
1962
|
+
*
|
|
1602
1963
|
* @summary History: back, forward, or refresh
|
|
1603
|
-
* @param {string} browserId
|
|
1604
|
-
* @param {HistoryRequest} payload
|
|
1964
|
+
* @param {string} browserId
|
|
1965
|
+
* @param {HistoryRequest} payload
|
|
1605
1966
|
* @param {*} [options] Override http request option.
|
|
1606
1967
|
* @throws {RequiredError}
|
|
1607
1968
|
*/
|
|
@@ -1637,10 +1998,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1637
1998
|
};
|
|
1638
1999
|
},
|
|
1639
2000
|
/**
|
|
1640
|
-
*
|
|
2001
|
+
*
|
|
1641
2002
|
* @summary Mouse: hover or drag
|
|
1642
|
-
* @param {string} browserId
|
|
1643
|
-
* @param {MouseRequest} payload
|
|
2003
|
+
* @param {string} browserId
|
|
2004
|
+
* @param {MouseRequest} payload
|
|
1644
2005
|
* @param {*} [options] Override http request option.
|
|
1645
2006
|
* @throws {RequiredError}
|
|
1646
2007
|
*/
|
|
@@ -1676,10 +2037,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1676
2037
|
};
|
|
1677
2038
|
},
|
|
1678
2039
|
/**
|
|
1679
|
-
*
|
|
2040
|
+
*
|
|
1680
2041
|
* @summary Navigate to URL
|
|
1681
|
-
* @param {string} browserId
|
|
1682
|
-
* @param {NavigateBrowserRequest} payload
|
|
2042
|
+
* @param {string} browserId
|
|
2043
|
+
* @param {NavigateBrowserRequest} payload
|
|
1683
2044
|
* @param {*} [options] Override http request option.
|
|
1684
2045
|
* @throws {RequiredError}
|
|
1685
2046
|
*/
|
|
@@ -1715,10 +2076,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1715
2076
|
};
|
|
1716
2077
|
},
|
|
1717
2078
|
/**
|
|
1718
|
-
*
|
|
2079
|
+
*
|
|
1719
2080
|
* @summary Network logs: get or clear
|
|
1720
|
-
* @param {string} browserId
|
|
1721
|
-
* @param {NetworkLogsRequest} payload
|
|
2081
|
+
* @param {string} browserId
|
|
2082
|
+
* @param {NetworkLogsRequest} payload
|
|
1722
2083
|
* @param {*} [options] Override http request option.
|
|
1723
2084
|
* @throws {RequiredError}
|
|
1724
2085
|
*/
|
|
@@ -1754,10 +2115,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1754
2115
|
};
|
|
1755
2116
|
},
|
|
1756
2117
|
/**
|
|
1757
|
-
*
|
|
2118
|
+
*
|
|
1758
2119
|
* @summary Performance: start_trace, stop_trace, metrics, analyze
|
|
1759
|
-
* @param {string} browserId
|
|
1760
|
-
* @param {PerformanceRequest} payload
|
|
2120
|
+
* @param {string} browserId
|
|
2121
|
+
* @param {PerformanceRequest} payload
|
|
1761
2122
|
* @param {*} [options] Override http request option.
|
|
1762
2123
|
* @throws {RequiredError}
|
|
1763
2124
|
*/
|
|
@@ -1793,10 +2154,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1793
2154
|
};
|
|
1794
2155
|
},
|
|
1795
2156
|
/**
|
|
1796
|
-
*
|
|
2157
|
+
*
|
|
1797
2158
|
* @summary Press keyboard keys
|
|
1798
|
-
* @param {string} browserId
|
|
1799
|
-
* @param {PressKeysRequest} payload
|
|
2159
|
+
* @param {string} browserId
|
|
2160
|
+
* @param {PressKeysRequest} payload
|
|
1800
2161
|
* @param {*} [options] Override http request option.
|
|
1801
2162
|
* @throws {RequiredError}
|
|
1802
2163
|
*/
|
|
@@ -1832,10 +2193,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1832
2193
|
};
|
|
1833
2194
|
},
|
|
1834
2195
|
/**
|
|
1835
|
-
*
|
|
2196
|
+
*
|
|
1836
2197
|
* @summary Resize viewport
|
|
1837
|
-
* @param {string} browserId
|
|
1838
|
-
* @param {ResizeRequest} payload
|
|
2198
|
+
* @param {string} browserId
|
|
2199
|
+
* @param {ResizeRequest} payload
|
|
1839
2200
|
* @param {*} [options] Override http request option.
|
|
1840
2201
|
* @throws {RequiredError}
|
|
1841
2202
|
*/
|
|
@@ -1871,10 +2232,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1871
2232
|
};
|
|
1872
2233
|
},
|
|
1873
2234
|
/**
|
|
1874
|
-
*
|
|
2235
|
+
*
|
|
1875
2236
|
* @summary Scroll to element/coords or by delta
|
|
1876
|
-
* @param {string} browserId
|
|
1877
|
-
* @param {ScrollRequest} payload
|
|
2237
|
+
* @param {string} browserId
|
|
2238
|
+
* @param {ScrollRequest} payload
|
|
1878
2239
|
* @param {*} [options] Override http request option.
|
|
1879
2240
|
* @throws {RequiredError}
|
|
1880
2241
|
*/
|
|
@@ -1910,10 +2271,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1910
2271
|
};
|
|
1911
2272
|
},
|
|
1912
2273
|
/**
|
|
1913
|
-
*
|
|
2274
|
+
*
|
|
1914
2275
|
* @summary Select dropdown: select option or get options
|
|
1915
|
-
* @param {string} browserId
|
|
1916
|
-
* @param {SelectRequest} payload
|
|
2276
|
+
* @param {string} browserId
|
|
2277
|
+
* @param {SelectRequest} payload
|
|
1917
2278
|
* @param {*} [options] Override http request option.
|
|
1918
2279
|
* @throws {RequiredError}
|
|
1919
2280
|
*/
|
|
@@ -1949,10 +2310,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1949
2310
|
};
|
|
1950
2311
|
},
|
|
1951
2312
|
/**
|
|
1952
|
-
*
|
|
2313
|
+
*
|
|
1953
2314
|
* @summary DOM or accessibility snapshot
|
|
1954
|
-
* @param {string} browserId
|
|
1955
|
-
* @param {SnapshotRequest} payload
|
|
2315
|
+
* @param {string} browserId
|
|
2316
|
+
* @param {SnapshotRequest} payload
|
|
1956
2317
|
* @param {*} [options] Override http request option.
|
|
1957
2318
|
* @throws {RequiredError}
|
|
1958
2319
|
*/
|
|
@@ -1988,10 +2349,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1988
2349
|
};
|
|
1989
2350
|
},
|
|
1990
2351
|
/**
|
|
1991
|
-
*
|
|
2352
|
+
*
|
|
1992
2353
|
* @summary Tabs: list, new, switch, close, current
|
|
1993
|
-
* @param {string} browserId
|
|
1994
|
-
* @param {TabsRequest} payload
|
|
2354
|
+
* @param {string} browserId
|
|
2355
|
+
* @param {TabsRequest} payload
|
|
1995
2356
|
* @param {*} [options] Override http request option.
|
|
1996
2357
|
* @throws {RequiredError}
|
|
1997
2358
|
*/
|
|
@@ -2027,10 +2388,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2027
2388
|
};
|
|
2028
2389
|
},
|
|
2029
2390
|
/**
|
|
2030
|
-
*
|
|
2391
|
+
*
|
|
2031
2392
|
* @summary Take screenshot
|
|
2032
|
-
* @param {string} browserId
|
|
2033
|
-
* @param {TakeScreenshotRequest} payload
|
|
2393
|
+
* @param {string} browserId
|
|
2394
|
+
* @param {TakeScreenshotRequest} payload
|
|
2034
2395
|
* @param {*} [options] Override http request option.
|
|
2035
2396
|
* @throws {RequiredError}
|
|
2036
2397
|
*/
|
|
@@ -2066,10 +2427,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2066
2427
|
};
|
|
2067
2428
|
},
|
|
2068
2429
|
/**
|
|
2069
|
-
*
|
|
2430
|
+
*
|
|
2070
2431
|
* @summary Type text into element
|
|
2071
|
-
* @param {string} browserId
|
|
2072
|
-
* @param {TypeTextRequest} payload
|
|
2432
|
+
* @param {string} browserId
|
|
2433
|
+
* @param {TypeTextRequest} payload
|
|
2073
2434
|
* @param {*} [options] Override http request option.
|
|
2074
2435
|
* @throws {RequiredError}
|
|
2075
2436
|
*/
|
|
@@ -2105,10 +2466,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2105
2466
|
};
|
|
2106
2467
|
},
|
|
2107
2468
|
/**
|
|
2108
|
-
*
|
|
2469
|
+
*
|
|
2109
2470
|
* @summary Upload file to input
|
|
2110
|
-
* @param {string} browserId
|
|
2111
|
-
* @param {UploadFileRequest} payload
|
|
2471
|
+
* @param {string} browserId
|
|
2472
|
+
* @param {UploadFileRequest} payload
|
|
2112
2473
|
* @param {*} [options] Override http request option.
|
|
2113
2474
|
* @throws {RequiredError}
|
|
2114
2475
|
*/
|
|
@@ -2144,10 +2505,10 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2144
2505
|
};
|
|
2145
2506
|
},
|
|
2146
2507
|
/**
|
|
2147
|
-
*
|
|
2508
|
+
*
|
|
2148
2509
|
* @summary Wait for element to be visible or hidden
|
|
2149
|
-
* @param {string} browserId
|
|
2150
|
-
* @param {WaitElementRequest} payload
|
|
2510
|
+
* @param {string} browserId
|
|
2511
|
+
* @param {WaitElementRequest} payload
|
|
2151
2512
|
* @param {*} [options] Override http request option.
|
|
2152
2513
|
* @throws {RequiredError}
|
|
2153
2514
|
*/
|
|
@@ -2183,15 +2544,18 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2183
2544
|
};
|
|
2184
2545
|
},
|
|
2185
2546
|
/**
|
|
2186
|
-
*
|
|
2547
|
+
*
|
|
2187
2548
|
* @summary AI page analysis - what\'s visible
|
|
2188
|
-
* @param {string} browserId
|
|
2549
|
+
* @param {string} browserId
|
|
2550
|
+
* @param {WhatIsVisibleRequest} payload
|
|
2189
2551
|
* @param {*} [options] Override http request option.
|
|
2190
2552
|
* @throws {RequiredError}
|
|
2191
2553
|
*/
|
|
2192
|
-
whatIsVisible: async (browserId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2554
|
+
whatIsVisible: async (browserId: string, payload: WhatIsVisibleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2193
2555
|
// verify required parameter 'browserId' is not null or undefined
|
|
2194
2556
|
assertParamExists('whatIsVisible', 'browserId', browserId)
|
|
2557
|
+
// verify required parameter 'payload' is not null or undefined
|
|
2558
|
+
assertParamExists('whatIsVisible', 'payload', payload)
|
|
2195
2559
|
const localVarPath = `/browser/{browser_id}/what_is_visible`
|
|
2196
2560
|
.replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
|
|
2197
2561
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -2205,11 +2569,13 @@ export const BrowserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2205
2569
|
const localVarHeaderParameter = {} as any;
|
|
2206
2570
|
const localVarQueryParameter = {} as any;
|
|
2207
2571
|
|
|
2572
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2208
2573
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2209
2574
|
|
|
2210
2575
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2211
2576
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2212
2577
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2578
|
+
localVarRequestOptions.data = serializeDataIfNeeded(payload, localVarRequestOptions, configuration)
|
|
2213
2579
|
|
|
2214
2580
|
return {
|
|
2215
2581
|
url: toPathString(localVarUrlObj),
|
|
@@ -2226,9 +2592,9 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2226
2592
|
const localVarAxiosParamCreator = BrowserApiAxiosParamCreator(configuration)
|
|
2227
2593
|
return {
|
|
2228
2594
|
/**
|
|
2229
|
-
*
|
|
2595
|
+
*
|
|
2230
2596
|
* @summary Admin: list all, get info, or close all browsers
|
|
2231
|
-
* @param {BrowsersRequest} payload
|
|
2597
|
+
* @param {BrowsersRequest} payload
|
|
2232
2598
|
* @param {*} [options] Override http request option.
|
|
2233
2599
|
* @throws {RequiredError}
|
|
2234
2600
|
*/
|
|
@@ -2239,9 +2605,9 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2239
2605
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2240
2606
|
},
|
|
2241
2607
|
/**
|
|
2242
|
-
*
|
|
2608
|
+
*
|
|
2243
2609
|
* @summary Check if element exists or is visible
|
|
2244
|
-
* @param {string} browserId
|
|
2610
|
+
* @param {string} browserId
|
|
2245
2611
|
* @param {string} selector selector
|
|
2246
2612
|
* @param {string} check check
|
|
2247
2613
|
* @param {string} [by] by
|
|
@@ -2257,8 +2623,8 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2257
2623
|
/**
|
|
2258
2624
|
* Use if_visible=True to only click if visible.
|
|
2259
2625
|
* @summary Click element
|
|
2260
|
-
* @param {string} browserId
|
|
2261
|
-
* @param {ClickRequest} payload
|
|
2626
|
+
* @param {string} browserId
|
|
2627
|
+
* @param {ClickRequest} payload
|
|
2262
2628
|
* @param {*} [options] Override http request option.
|
|
2263
2629
|
* @throws {RequiredError}
|
|
2264
2630
|
*/
|
|
@@ -2269,9 +2635,9 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2269
2635
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2270
2636
|
},
|
|
2271
2637
|
/**
|
|
2272
|
-
*
|
|
2638
|
+
*
|
|
2273
2639
|
* @summary Close browser instance
|
|
2274
|
-
* @param {string} browserId
|
|
2640
|
+
* @param {string} browserId
|
|
2275
2641
|
* @param {*} [options] Override http request option.
|
|
2276
2642
|
* @throws {RequiredError}
|
|
2277
2643
|
*/
|
|
@@ -2282,10 +2648,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2282
2648
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2283
2649
|
},
|
|
2284
2650
|
/**
|
|
2285
|
-
*
|
|
2651
|
+
*
|
|
2286
2652
|
* @summary Console logs: get or clear
|
|
2287
|
-
* @param {string} browserId
|
|
2288
|
-
* @param {ConsoleLogsRequest} payload
|
|
2653
|
+
* @param {string} browserId
|
|
2654
|
+
* @param {ConsoleLogsRequest} payload
|
|
2289
2655
|
* @param {*} [options] Override http request option.
|
|
2290
2656
|
* @throws {RequiredError}
|
|
2291
2657
|
*/
|
|
@@ -2298,8 +2664,8 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2298
2664
|
/**
|
|
2299
2665
|
* Actions: - get: Get all cookies (including HttpOnly via CDP) - set: Set a cookie (requires cookie dict with name, value, domain, etc.) - delete: Delete specific cookie by name (and optionally domain) - clear: Delete all cookies Examples: - Get all: action=\"get\" - Set: action=\"set\", cookie={\"name\": \"session\", \"value\": \"abc\", \"domain\": \".example.com\"} - Delete one: action=\"delete\", name=\"session\", domain=\".example.com\" - Clear all: action=\"clear\"
|
|
2300
2666
|
* @summary Manage browser cookies
|
|
2301
|
-
* @param {string} browserId
|
|
2302
|
-
* @param {CookiesRequest} payload
|
|
2667
|
+
* @param {string} browserId
|
|
2668
|
+
* @param {CookiesRequest} payload
|
|
2303
2669
|
* @param {*} [options] Override http request option.
|
|
2304
2670
|
* @throws {RequiredError}
|
|
2305
2671
|
*/
|
|
@@ -2310,9 +2676,9 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2310
2676
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2311
2677
|
},
|
|
2312
2678
|
/**
|
|
2313
|
-
*
|
|
2679
|
+
*
|
|
2314
2680
|
* @summary Create browser instance with optional persistent profile
|
|
2315
|
-
* @param {CreateBrowserRequest} payload
|
|
2681
|
+
* @param {CreateBrowserRequest} payload
|
|
2316
2682
|
* @param {*} [options] Override http request option.
|
|
2317
2683
|
* @throws {RequiredError}
|
|
2318
2684
|
*/
|
|
@@ -2323,24 +2689,24 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2323
2689
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2324
2690
|
},
|
|
2325
2691
|
/**
|
|
2326
|
-
* Args: browser_id: Browser instance identifier prompt: Natural language description of element to find fx: Fractional x offset for click point (0.0=left, 0.5=center, 1.0=right). If None, auto-bias is applied for wide elements (0.25 for aspect ratio > 10). fy: Fractional y offset for click point (0.0=top, 0.5=center, 1.0=bottom).
|
|
2327
|
-
* @summary Detect element coordinates using vision
|
|
2328
|
-
* @param {string} browserId
|
|
2329
|
-
* @param {DetectCoordinatesRequest} payload
|
|
2692
|
+
* Args: browser_id: Browser instance identifier prompt: Natural language description of element to find fx: Fractional x offset for click point (0.0=left, 0.5=center, 1.0=right). If None, auto-bias is applied for wide elements (0.25 for aspect ratio > 10). fy: Fractional y offset for click point (0.0=top, 0.5=center, 1.0=bottom). model: Optional vision model override for this request. stream: Optional vision streaming override for this request. hit_test: Detect-time validation mode: off, warn, or strict. Recommended for agents: `strict`. auto_snap: Auto-snap mode: off, nearest_clickable, or nearest_interactive. Recommended for agents: `nearest_clickable`. snap_radius: Maximum snap radius in CSS pixels. include_debug: Include detect debug diagnostics when available.
|
|
2693
|
+
* @summary Detect element coordinates using vision with optional smart targeting
|
|
2694
|
+
* @param {string} browserId
|
|
2695
|
+
* @param {DetectCoordinatesRequest} payload
|
|
2330
2696
|
* @param {*} [options] Override http request option.
|
|
2331
2697
|
* @throws {RequiredError}
|
|
2332
2698
|
*/
|
|
2333
|
-
async detectCoordinates(browserId: string, payload: DetectCoordinatesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2699
|
+
async detectCoordinates(browserId: string, payload: DetectCoordinatesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetectCoordinatesResult>> {
|
|
2334
2700
|
const localVarAxiosArgs = await localVarAxiosParamCreator.detectCoordinates(browserId, payload, options);
|
|
2335
2701
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2336
2702
|
const localVarOperationServerBasePath = operationServerMap['BrowserApi.detectCoordinates']?.[localVarOperationServerIndex]?.url;
|
|
2337
2703
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2338
2704
|
},
|
|
2339
2705
|
/**
|
|
2340
|
-
*
|
|
2706
|
+
*
|
|
2341
2707
|
* @summary Dialogs: get, accept, dismiss
|
|
2342
|
-
* @param {string} browserId
|
|
2343
|
-
* @param {DialogRequest} payload
|
|
2708
|
+
* @param {string} browserId
|
|
2709
|
+
* @param {DialogRequest} payload
|
|
2344
2710
|
* @param {*} [options] Override http request option.
|
|
2345
2711
|
* @throws {RequiredError}
|
|
2346
2712
|
*/
|
|
@@ -2351,10 +2717,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2351
2717
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2352
2718
|
},
|
|
2353
2719
|
/**
|
|
2354
|
-
*
|
|
2720
|
+
*
|
|
2355
2721
|
* @summary Emulation: set, clear, list_devices
|
|
2356
|
-
* @param {string} browserId
|
|
2357
|
-
* @param {EmulateRequest} payload
|
|
2722
|
+
* @param {string} browserId
|
|
2723
|
+
* @param {EmulateRequest} payload
|
|
2358
2724
|
* @param {*} [options] Override http request option.
|
|
2359
2725
|
* @throws {RequiredError}
|
|
2360
2726
|
*/
|
|
@@ -2367,8 +2733,8 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2367
2733
|
/**
|
|
2368
2734
|
* Provides direct access to CDP methods for advanced browser control. Common use cases: - Get all cookies: method=\"Network.getAllCookies\" - Set cookie: method=\"Network.setCookie\", params={\"name\": \"...\", \"value\": \"...\", \"domain\": \"...\"} - Delete cookies: method=\"Network.deleteCookies\", params={\"name\": \"...\", \"domain\": \"...\"} Full CDP reference: https://chromedevtools.github.io/devtools-protocol/
|
|
2369
2735
|
* @summary Execute a Chrome DevTools Protocol command
|
|
2370
|
-
* @param {string} browserId
|
|
2371
|
-
* @param {ExecuteCdpRequest} payload
|
|
2736
|
+
* @param {string} browserId
|
|
2737
|
+
* @param {ExecuteCdpRequest} payload
|
|
2372
2738
|
* @param {*} [options] Override http request option.
|
|
2373
2739
|
* @throws {RequiredError}
|
|
2374
2740
|
*/
|
|
@@ -2379,10 +2745,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2379
2745
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2380
2746
|
},
|
|
2381
2747
|
/**
|
|
2382
|
-
*
|
|
2748
|
+
*
|
|
2383
2749
|
* @summary Execute JavaScript
|
|
2384
|
-
* @param {string} browserId
|
|
2385
|
-
* @param {ExecuteScriptRequest} payload
|
|
2750
|
+
* @param {string} browserId
|
|
2751
|
+
* @param {ExecuteScriptRequest} payload
|
|
2386
2752
|
* @param {*} [options] Override http request option.
|
|
2387
2753
|
* @throws {RequiredError}
|
|
2388
2754
|
*/
|
|
@@ -2393,10 +2759,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2393
2759
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2394
2760
|
},
|
|
2395
2761
|
/**
|
|
2396
|
-
*
|
|
2762
|
+
*
|
|
2397
2763
|
* @summary Fill multiple form fields
|
|
2398
|
-
* @param {string} browserId
|
|
2399
|
-
* @param {FillFormRequest} payload
|
|
2764
|
+
* @param {string} browserId
|
|
2765
|
+
* @param {FillFormRequest} payload
|
|
2400
2766
|
* @param {*} [options] Override http request option.
|
|
2401
2767
|
* @throws {RequiredError}
|
|
2402
2768
|
*/
|
|
@@ -2409,7 +2775,7 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2409
2775
|
/**
|
|
2410
2776
|
* Returns the WebSocket URL that external tools (Playwright, Puppeteer, etc.) can use to connect directly to Chrome\'s DevTools Protocol for advanced automation like network interception, performance profiling, or custom CDP commands. The returned URL format: ws://host:port/devtools/browser/{guid} Note: The URL uses the container\'s internal address. For external access, ensure the CDP port is exposed and use the appropriate host address.
|
|
2411
2777
|
* @summary Get Chrome DevTools Protocol WebSocket URL for direct CDP access
|
|
2412
|
-
* @param {string} browserId
|
|
2778
|
+
* @param {string} browserId
|
|
2413
2779
|
* @param {*} [options] Override http request option.
|
|
2414
2780
|
* @throws {RequiredError}
|
|
2415
2781
|
*/
|
|
@@ -2420,9 +2786,9 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2420
2786
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2421
2787
|
},
|
|
2422
2788
|
/**
|
|
2423
|
-
*
|
|
2789
|
+
*
|
|
2424
2790
|
* @summary Get page HTML
|
|
2425
|
-
* @param {string} browserId
|
|
2791
|
+
* @param {string} browserId
|
|
2426
2792
|
* @param {*} [options] Override http request option.
|
|
2427
2793
|
* @throws {RequiredError}
|
|
2428
2794
|
*/
|
|
@@ -2433,9 +2799,9 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2433
2799
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2434
2800
|
},
|
|
2435
2801
|
/**
|
|
2436
|
-
*
|
|
2802
|
+
*
|
|
2437
2803
|
* @summary Get element text, attribute, or property
|
|
2438
|
-
* @param {string} browserId
|
|
2804
|
+
* @param {string} browserId
|
|
2439
2805
|
* @param {string} selector selector
|
|
2440
2806
|
* @param {string} dataType data_type
|
|
2441
2807
|
* @param {string} [name] name
|
|
@@ -2450,9 +2816,9 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2450
2816
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2451
2817
|
},
|
|
2452
2818
|
/**
|
|
2453
|
-
*
|
|
2819
|
+
*
|
|
2454
2820
|
* @summary Get current URL
|
|
2455
|
-
* @param {string} browserId
|
|
2821
|
+
* @param {string} browserId
|
|
2456
2822
|
* @param {*} [options] Override http request option.
|
|
2457
2823
|
* @throws {RequiredError}
|
|
2458
2824
|
*/
|
|
@@ -2463,24 +2829,38 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2463
2829
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2464
2830
|
},
|
|
2465
2831
|
/**
|
|
2466
|
-
*
|
|
2467
|
-
* @summary GUI click by selector or coordinates
|
|
2468
|
-
* @param {string} browserId
|
|
2469
|
-
* @param {GuiClickRequest} payload
|
|
2832
|
+
* Selector mode uses `selector` with optional `fx` / `fy` offsets. Coordinate mode uses `x` / `y` and supports smart targeting knobs such as `pre_click_validate`, `auto_snap`, and `post_click_feedback`. Recommended agent mode: - `pre_click_validate=\"strict\"` - `auto_snap=\"nearest_clickable\"` - `post_click_feedback=\"auto\"` MCP keeps `gui_click_xy` as a compatibility alias for coordinate-mode `gui_click`.
|
|
2833
|
+
* @summary GUI click by selector or coordinates with smart validation
|
|
2834
|
+
* @param {string} browserId
|
|
2835
|
+
* @param {GuiClickRequest} payload
|
|
2470
2836
|
* @param {*} [options] Override http request option.
|
|
2471
2837
|
* @throws {RequiredError}
|
|
2472
2838
|
*/
|
|
2473
|
-
async guiClick(browserId: string, payload: GuiClickRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2839
|
+
async guiClick(browserId: string, payload: GuiClickRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuiClickResult>> {
|
|
2474
2840
|
const localVarAxiosArgs = await localVarAxiosParamCreator.guiClick(browserId, payload, options);
|
|
2475
2841
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2476
2842
|
const localVarOperationServerBasePath = operationServerMap['BrowserApi.guiClick']?.[localVarOperationServerIndex]?.url;
|
|
2477
2843
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2478
2844
|
},
|
|
2479
2845
|
/**
|
|
2480
|
-
*
|
|
2846
|
+
* This mirrors coordinate-mode `gui_click`, accepts the same smart-click options, and returns the same response contract.
|
|
2847
|
+
* @summary MCP compatibility alias for coordinate-mode `gui_click`
|
|
2848
|
+
* @param {string} browserId
|
|
2849
|
+
* @param {GuiClickXYRequest} payload
|
|
2850
|
+
* @param {*} [options] Override http request option.
|
|
2851
|
+
* @throws {RequiredError}
|
|
2852
|
+
*/
|
|
2853
|
+
async guiClickXy(browserId: string, payload: GuiClickXYRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuiClickResult>> {
|
|
2854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.guiClickXy(browserId, payload, options);
|
|
2855
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2856
|
+
const localVarOperationServerBasePath = operationServerMap['BrowserApi.guiClickXy']?.[localVarOperationServerIndex]?.url;
|
|
2857
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2858
|
+
},
|
|
2859
|
+
/**
|
|
2860
|
+
*
|
|
2481
2861
|
* @summary GUI hover at coordinates
|
|
2482
|
-
* @param {string} browserId
|
|
2483
|
-
* @param {GuiHoverXyRequest} payload
|
|
2862
|
+
* @param {string} browserId
|
|
2863
|
+
* @param {GuiHoverXyRequest} payload
|
|
2484
2864
|
* @param {*} [options] Override http request option.
|
|
2485
2865
|
* @throws {RequiredError}
|
|
2486
2866
|
*/
|
|
@@ -2491,10 +2871,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2491
2871
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2492
2872
|
},
|
|
2493
2873
|
/**
|
|
2494
|
-
*
|
|
2874
|
+
*
|
|
2495
2875
|
* @summary Press keys at coordinates (click to focus, then send keys)
|
|
2496
|
-
* @param {string} browserId
|
|
2497
|
-
* @param {GuiPressKeysXyRequest} payload
|
|
2876
|
+
* @param {string} browserId
|
|
2877
|
+
* @param {GuiPressKeysXyRequest} payload
|
|
2498
2878
|
* @param {*} [options] Override http request option.
|
|
2499
2879
|
* @throws {RequiredError}
|
|
2500
2880
|
*/
|
|
@@ -2505,10 +2885,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2505
2885
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2506
2886
|
},
|
|
2507
2887
|
/**
|
|
2508
|
-
*
|
|
2888
|
+
*
|
|
2509
2889
|
* @summary GUI type at coordinates - clicks then types text
|
|
2510
|
-
* @param {string} browserId
|
|
2511
|
-
* @param {GuiTypeXyRequest} payload
|
|
2890
|
+
* @param {string} browserId
|
|
2891
|
+
* @param {GuiTypeXyRequest} payload
|
|
2512
2892
|
* @param {*} [options] Override http request option.
|
|
2513
2893
|
* @throws {RequiredError}
|
|
2514
2894
|
*/
|
|
@@ -2519,10 +2899,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2519
2899
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2520
2900
|
},
|
|
2521
2901
|
/**
|
|
2522
|
-
*
|
|
2902
|
+
*
|
|
2523
2903
|
* @summary History: back, forward, or refresh
|
|
2524
|
-
* @param {string} browserId
|
|
2525
|
-
* @param {HistoryRequest} payload
|
|
2904
|
+
* @param {string} browserId
|
|
2905
|
+
* @param {HistoryRequest} payload
|
|
2526
2906
|
* @param {*} [options] Override http request option.
|
|
2527
2907
|
* @throws {RequiredError}
|
|
2528
2908
|
*/
|
|
@@ -2533,10 +2913,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2533
2913
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2534
2914
|
},
|
|
2535
2915
|
/**
|
|
2536
|
-
*
|
|
2916
|
+
*
|
|
2537
2917
|
* @summary Mouse: hover or drag
|
|
2538
|
-
* @param {string} browserId
|
|
2539
|
-
* @param {MouseRequest} payload
|
|
2918
|
+
* @param {string} browserId
|
|
2919
|
+
* @param {MouseRequest} payload
|
|
2540
2920
|
* @param {*} [options] Override http request option.
|
|
2541
2921
|
* @throws {RequiredError}
|
|
2542
2922
|
*/
|
|
@@ -2547,10 +2927,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2547
2927
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2548
2928
|
},
|
|
2549
2929
|
/**
|
|
2550
|
-
*
|
|
2930
|
+
*
|
|
2551
2931
|
* @summary Navigate to URL
|
|
2552
|
-
* @param {string} browserId
|
|
2553
|
-
* @param {NavigateBrowserRequest} payload
|
|
2932
|
+
* @param {string} browserId
|
|
2933
|
+
* @param {NavigateBrowserRequest} payload
|
|
2554
2934
|
* @param {*} [options] Override http request option.
|
|
2555
2935
|
* @throws {RequiredError}
|
|
2556
2936
|
*/
|
|
@@ -2561,10 +2941,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2561
2941
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2562
2942
|
},
|
|
2563
2943
|
/**
|
|
2564
|
-
*
|
|
2944
|
+
*
|
|
2565
2945
|
* @summary Network logs: get or clear
|
|
2566
|
-
* @param {string} browserId
|
|
2567
|
-
* @param {NetworkLogsRequest} payload
|
|
2946
|
+
* @param {string} browserId
|
|
2947
|
+
* @param {NetworkLogsRequest} payload
|
|
2568
2948
|
* @param {*} [options] Override http request option.
|
|
2569
2949
|
* @throws {RequiredError}
|
|
2570
2950
|
*/
|
|
@@ -2575,10 +2955,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2575
2955
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2576
2956
|
},
|
|
2577
2957
|
/**
|
|
2578
|
-
*
|
|
2958
|
+
*
|
|
2579
2959
|
* @summary Performance: start_trace, stop_trace, metrics, analyze
|
|
2580
|
-
* @param {string} browserId
|
|
2581
|
-
* @param {PerformanceRequest} payload
|
|
2960
|
+
* @param {string} browserId
|
|
2961
|
+
* @param {PerformanceRequest} payload
|
|
2582
2962
|
* @param {*} [options] Override http request option.
|
|
2583
2963
|
* @throws {RequiredError}
|
|
2584
2964
|
*/
|
|
@@ -2589,10 +2969,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2589
2969
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2590
2970
|
},
|
|
2591
2971
|
/**
|
|
2592
|
-
*
|
|
2972
|
+
*
|
|
2593
2973
|
* @summary Press keyboard keys
|
|
2594
|
-
* @param {string} browserId
|
|
2595
|
-
* @param {PressKeysRequest} payload
|
|
2974
|
+
* @param {string} browserId
|
|
2975
|
+
* @param {PressKeysRequest} payload
|
|
2596
2976
|
* @param {*} [options] Override http request option.
|
|
2597
2977
|
* @throws {RequiredError}
|
|
2598
2978
|
*/
|
|
@@ -2603,10 +2983,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2603
2983
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2604
2984
|
},
|
|
2605
2985
|
/**
|
|
2606
|
-
*
|
|
2986
|
+
*
|
|
2607
2987
|
* @summary Resize viewport
|
|
2608
|
-
* @param {string} browserId
|
|
2609
|
-
* @param {ResizeRequest} payload
|
|
2988
|
+
* @param {string} browserId
|
|
2989
|
+
* @param {ResizeRequest} payload
|
|
2610
2990
|
* @param {*} [options] Override http request option.
|
|
2611
2991
|
* @throws {RequiredError}
|
|
2612
2992
|
*/
|
|
@@ -2617,10 +2997,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2617
2997
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2618
2998
|
},
|
|
2619
2999
|
/**
|
|
2620
|
-
*
|
|
3000
|
+
*
|
|
2621
3001
|
* @summary Scroll to element/coords or by delta
|
|
2622
|
-
* @param {string} browserId
|
|
2623
|
-
* @param {ScrollRequest} payload
|
|
3002
|
+
* @param {string} browserId
|
|
3003
|
+
* @param {ScrollRequest} payload
|
|
2624
3004
|
* @param {*} [options] Override http request option.
|
|
2625
3005
|
* @throws {RequiredError}
|
|
2626
3006
|
*/
|
|
@@ -2631,10 +3011,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2631
3011
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2632
3012
|
},
|
|
2633
3013
|
/**
|
|
2634
|
-
*
|
|
3014
|
+
*
|
|
2635
3015
|
* @summary Select dropdown: select option or get options
|
|
2636
|
-
* @param {string} browserId
|
|
2637
|
-
* @param {SelectRequest} payload
|
|
3016
|
+
* @param {string} browserId
|
|
3017
|
+
* @param {SelectRequest} payload
|
|
2638
3018
|
* @param {*} [options] Override http request option.
|
|
2639
3019
|
* @throws {RequiredError}
|
|
2640
3020
|
*/
|
|
@@ -2645,10 +3025,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2645
3025
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2646
3026
|
},
|
|
2647
3027
|
/**
|
|
2648
|
-
*
|
|
3028
|
+
*
|
|
2649
3029
|
* @summary DOM or accessibility snapshot
|
|
2650
|
-
* @param {string} browserId
|
|
2651
|
-
* @param {SnapshotRequest} payload
|
|
3030
|
+
* @param {string} browserId
|
|
3031
|
+
* @param {SnapshotRequest} payload
|
|
2652
3032
|
* @param {*} [options] Override http request option.
|
|
2653
3033
|
* @throws {RequiredError}
|
|
2654
3034
|
*/
|
|
@@ -2659,10 +3039,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2659
3039
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2660
3040
|
},
|
|
2661
3041
|
/**
|
|
2662
|
-
*
|
|
3042
|
+
*
|
|
2663
3043
|
* @summary Tabs: list, new, switch, close, current
|
|
2664
|
-
* @param {string} browserId
|
|
2665
|
-
* @param {TabsRequest} payload
|
|
3044
|
+
* @param {string} browserId
|
|
3045
|
+
* @param {TabsRequest} payload
|
|
2666
3046
|
* @param {*} [options] Override http request option.
|
|
2667
3047
|
* @throws {RequiredError}
|
|
2668
3048
|
*/
|
|
@@ -2673,10 +3053,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2673
3053
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2674
3054
|
},
|
|
2675
3055
|
/**
|
|
2676
|
-
*
|
|
3056
|
+
*
|
|
2677
3057
|
* @summary Take screenshot
|
|
2678
|
-
* @param {string} browserId
|
|
2679
|
-
* @param {TakeScreenshotRequest} payload
|
|
3058
|
+
* @param {string} browserId
|
|
3059
|
+
* @param {TakeScreenshotRequest} payload
|
|
2680
3060
|
* @param {*} [options] Override http request option.
|
|
2681
3061
|
* @throws {RequiredError}
|
|
2682
3062
|
*/
|
|
@@ -2687,10 +3067,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2687
3067
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2688
3068
|
},
|
|
2689
3069
|
/**
|
|
2690
|
-
*
|
|
3070
|
+
*
|
|
2691
3071
|
* @summary Type text into element
|
|
2692
|
-
* @param {string} browserId
|
|
2693
|
-
* @param {TypeTextRequest} payload
|
|
3072
|
+
* @param {string} browserId
|
|
3073
|
+
* @param {TypeTextRequest} payload
|
|
2694
3074
|
* @param {*} [options] Override http request option.
|
|
2695
3075
|
* @throws {RequiredError}
|
|
2696
3076
|
*/
|
|
@@ -2701,10 +3081,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2701
3081
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2702
3082
|
},
|
|
2703
3083
|
/**
|
|
2704
|
-
*
|
|
3084
|
+
*
|
|
2705
3085
|
* @summary Upload file to input
|
|
2706
|
-
* @param {string} browserId
|
|
2707
|
-
* @param {UploadFileRequest} payload
|
|
3086
|
+
* @param {string} browserId
|
|
3087
|
+
* @param {UploadFileRequest} payload
|
|
2708
3088
|
* @param {*} [options] Override http request option.
|
|
2709
3089
|
* @throws {RequiredError}
|
|
2710
3090
|
*/
|
|
@@ -2715,10 +3095,10 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2715
3095
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2716
3096
|
},
|
|
2717
3097
|
/**
|
|
2718
|
-
*
|
|
3098
|
+
*
|
|
2719
3099
|
* @summary Wait for element to be visible or hidden
|
|
2720
|
-
* @param {string} browserId
|
|
2721
|
-
* @param {WaitElementRequest} payload
|
|
3100
|
+
* @param {string} browserId
|
|
3101
|
+
* @param {WaitElementRequest} payload
|
|
2722
3102
|
* @param {*} [options] Override http request option.
|
|
2723
3103
|
* @throws {RequiredError}
|
|
2724
3104
|
*/
|
|
@@ -2729,14 +3109,15 @@ export const BrowserApiFp = function(configuration?: Configuration) {
|
|
|
2729
3109
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2730
3110
|
},
|
|
2731
3111
|
/**
|
|
2732
|
-
*
|
|
3112
|
+
*
|
|
2733
3113
|
* @summary AI page analysis - what\'s visible
|
|
2734
|
-
* @param {string} browserId
|
|
3114
|
+
* @param {string} browserId
|
|
3115
|
+
* @param {WhatIsVisibleRequest} payload
|
|
2735
3116
|
* @param {*} [options] Override http request option.
|
|
2736
3117
|
* @throws {RequiredError}
|
|
2737
3118
|
*/
|
|
2738
|
-
async whatIsVisible(browserId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>> {
|
|
2739
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatIsVisible(browserId, options);
|
|
3119
|
+
async whatIsVisible(browserId: string, payload: WhatIsVisibleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>> {
|
|
3120
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatIsVisible(browserId, payload, options);
|
|
2740
3121
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2741
3122
|
const localVarOperationServerBasePath = operationServerMap['BrowserApi.whatIsVisible']?.[localVarOperationServerIndex]?.url;
|
|
2742
3123
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2751,9 +3132,9 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2751
3132
|
const localVarFp = BrowserApiFp(configuration)
|
|
2752
3133
|
return {
|
|
2753
3134
|
/**
|
|
2754
|
-
*
|
|
3135
|
+
*
|
|
2755
3136
|
* @summary Admin: list all, get info, or close all browsers
|
|
2756
|
-
* @param {BrowsersRequest} payload
|
|
3137
|
+
* @param {BrowsersRequest} payload
|
|
2757
3138
|
* @param {*} [options] Override http request option.
|
|
2758
3139
|
* @throws {RequiredError}
|
|
2759
3140
|
*/
|
|
@@ -2761,9 +3142,9 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2761
3142
|
return localVarFp.browsers(payload, options).then((request) => request(axios, basePath));
|
|
2762
3143
|
},
|
|
2763
3144
|
/**
|
|
2764
|
-
*
|
|
3145
|
+
*
|
|
2765
3146
|
* @summary Check if element exists or is visible
|
|
2766
|
-
* @param {string} browserId
|
|
3147
|
+
* @param {string} browserId
|
|
2767
3148
|
* @param {string} selector selector
|
|
2768
3149
|
* @param {string} check check
|
|
2769
3150
|
* @param {string} [by] by
|
|
@@ -2776,8 +3157,8 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2776
3157
|
/**
|
|
2777
3158
|
* Use if_visible=True to only click if visible.
|
|
2778
3159
|
* @summary Click element
|
|
2779
|
-
* @param {string} browserId
|
|
2780
|
-
* @param {ClickRequest} payload
|
|
3160
|
+
* @param {string} browserId
|
|
3161
|
+
* @param {ClickRequest} payload
|
|
2781
3162
|
* @param {*} [options] Override http request option.
|
|
2782
3163
|
* @throws {RequiredError}
|
|
2783
3164
|
*/
|
|
@@ -2785,9 +3166,9 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2785
3166
|
return localVarFp.click(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2786
3167
|
},
|
|
2787
3168
|
/**
|
|
2788
|
-
*
|
|
3169
|
+
*
|
|
2789
3170
|
* @summary Close browser instance
|
|
2790
|
-
* @param {string} browserId
|
|
3171
|
+
* @param {string} browserId
|
|
2791
3172
|
* @param {*} [options] Override http request option.
|
|
2792
3173
|
* @throws {RequiredError}
|
|
2793
3174
|
*/
|
|
@@ -2795,10 +3176,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2795
3176
|
return localVarFp.closeBrowser(browserId, options).then((request) => request(axios, basePath));
|
|
2796
3177
|
},
|
|
2797
3178
|
/**
|
|
2798
|
-
*
|
|
3179
|
+
*
|
|
2799
3180
|
* @summary Console logs: get or clear
|
|
2800
|
-
* @param {string} browserId
|
|
2801
|
-
* @param {ConsoleLogsRequest} payload
|
|
3181
|
+
* @param {string} browserId
|
|
3182
|
+
* @param {ConsoleLogsRequest} payload
|
|
2802
3183
|
* @param {*} [options] Override http request option.
|
|
2803
3184
|
* @throws {RequiredError}
|
|
2804
3185
|
*/
|
|
@@ -2808,8 +3189,8 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2808
3189
|
/**
|
|
2809
3190
|
* Actions: - get: Get all cookies (including HttpOnly via CDP) - set: Set a cookie (requires cookie dict with name, value, domain, etc.) - delete: Delete specific cookie by name (and optionally domain) - clear: Delete all cookies Examples: - Get all: action=\"get\" - Set: action=\"set\", cookie={\"name\": \"session\", \"value\": \"abc\", \"domain\": \".example.com\"} - Delete one: action=\"delete\", name=\"session\", domain=\".example.com\" - Clear all: action=\"clear\"
|
|
2810
3191
|
* @summary Manage browser cookies
|
|
2811
|
-
* @param {string} browserId
|
|
2812
|
-
* @param {CookiesRequest} payload
|
|
3192
|
+
* @param {string} browserId
|
|
3193
|
+
* @param {CookiesRequest} payload
|
|
2813
3194
|
* @param {*} [options] Override http request option.
|
|
2814
3195
|
* @throws {RequiredError}
|
|
2815
3196
|
*/
|
|
@@ -2817,9 +3198,9 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2817
3198
|
return localVarFp.cookies(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2818
3199
|
},
|
|
2819
3200
|
/**
|
|
2820
|
-
*
|
|
3201
|
+
*
|
|
2821
3202
|
* @summary Create browser instance with optional persistent profile
|
|
2822
|
-
* @param {CreateBrowserRequest} payload
|
|
3203
|
+
* @param {CreateBrowserRequest} payload
|
|
2823
3204
|
* @param {*} [options] Override http request option.
|
|
2824
3205
|
* @throws {RequiredError}
|
|
2825
3206
|
*/
|
|
@@ -2827,21 +3208,21 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2827
3208
|
return localVarFp.createBrowser(payload, options).then((request) => request(axios, basePath));
|
|
2828
3209
|
},
|
|
2829
3210
|
/**
|
|
2830
|
-
* Args: browser_id: Browser instance identifier prompt: Natural language description of element to find fx: Fractional x offset for click point (0.0=left, 0.5=center, 1.0=right). If None, auto-bias is applied for wide elements (0.25 for aspect ratio > 10). fy: Fractional y offset for click point (0.0=top, 0.5=center, 1.0=bottom).
|
|
2831
|
-
* @summary Detect element coordinates using vision
|
|
2832
|
-
* @param {string} browserId
|
|
2833
|
-
* @param {DetectCoordinatesRequest} payload
|
|
3211
|
+
* Args: browser_id: Browser instance identifier prompt: Natural language description of element to find fx: Fractional x offset for click point (0.0=left, 0.5=center, 1.0=right). If None, auto-bias is applied for wide elements (0.25 for aspect ratio > 10). fy: Fractional y offset for click point (0.0=top, 0.5=center, 1.0=bottom). model: Optional vision model override for this request. stream: Optional vision streaming override for this request. hit_test: Detect-time validation mode: off, warn, or strict. Recommended for agents: `strict`. auto_snap: Auto-snap mode: off, nearest_clickable, or nearest_interactive. Recommended for agents: `nearest_clickable`. snap_radius: Maximum snap radius in CSS pixels. include_debug: Include detect debug diagnostics when available.
|
|
3212
|
+
* @summary Detect element coordinates using vision with optional smart targeting
|
|
3213
|
+
* @param {string} browserId
|
|
3214
|
+
* @param {DetectCoordinatesRequest} payload
|
|
2834
3215
|
* @param {*} [options] Override http request option.
|
|
2835
3216
|
* @throws {RequiredError}
|
|
2836
3217
|
*/
|
|
2837
|
-
detectCoordinates(browserId: string, payload: DetectCoordinatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3218
|
+
detectCoordinates(browserId: string, payload: DetectCoordinatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DetectCoordinatesResult> {
|
|
2838
3219
|
return localVarFp.detectCoordinates(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2839
3220
|
},
|
|
2840
3221
|
/**
|
|
2841
|
-
*
|
|
3222
|
+
*
|
|
2842
3223
|
* @summary Dialogs: get, accept, dismiss
|
|
2843
|
-
* @param {string} browserId
|
|
2844
|
-
* @param {DialogRequest} payload
|
|
3224
|
+
* @param {string} browserId
|
|
3225
|
+
* @param {DialogRequest} payload
|
|
2845
3226
|
* @param {*} [options] Override http request option.
|
|
2846
3227
|
* @throws {RequiredError}
|
|
2847
3228
|
*/
|
|
@@ -2849,10 +3230,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2849
3230
|
return localVarFp.dialog(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2850
3231
|
},
|
|
2851
3232
|
/**
|
|
2852
|
-
*
|
|
3233
|
+
*
|
|
2853
3234
|
* @summary Emulation: set, clear, list_devices
|
|
2854
|
-
* @param {string} browserId
|
|
2855
|
-
* @param {EmulateRequest} payload
|
|
3235
|
+
* @param {string} browserId
|
|
3236
|
+
* @param {EmulateRequest} payload
|
|
2856
3237
|
* @param {*} [options] Override http request option.
|
|
2857
3238
|
* @throws {RequiredError}
|
|
2858
3239
|
*/
|
|
@@ -2862,8 +3243,8 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2862
3243
|
/**
|
|
2863
3244
|
* Provides direct access to CDP methods for advanced browser control. Common use cases: - Get all cookies: method=\"Network.getAllCookies\" - Set cookie: method=\"Network.setCookie\", params={\"name\": \"...\", \"value\": \"...\", \"domain\": \"...\"} - Delete cookies: method=\"Network.deleteCookies\", params={\"name\": \"...\", \"domain\": \"...\"} Full CDP reference: https://chromedevtools.github.io/devtools-protocol/
|
|
2864
3245
|
* @summary Execute a Chrome DevTools Protocol command
|
|
2865
|
-
* @param {string} browserId
|
|
2866
|
-
* @param {ExecuteCdpRequest} payload
|
|
3246
|
+
* @param {string} browserId
|
|
3247
|
+
* @param {ExecuteCdpRequest} payload
|
|
2867
3248
|
* @param {*} [options] Override http request option.
|
|
2868
3249
|
* @throws {RequiredError}
|
|
2869
3250
|
*/
|
|
@@ -2871,10 +3252,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2871
3252
|
return localVarFp.executeCdp(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2872
3253
|
},
|
|
2873
3254
|
/**
|
|
2874
|
-
*
|
|
3255
|
+
*
|
|
2875
3256
|
* @summary Execute JavaScript
|
|
2876
|
-
* @param {string} browserId
|
|
2877
|
-
* @param {ExecuteScriptRequest} payload
|
|
3257
|
+
* @param {string} browserId
|
|
3258
|
+
* @param {ExecuteScriptRequest} payload
|
|
2878
3259
|
* @param {*} [options] Override http request option.
|
|
2879
3260
|
* @throws {RequiredError}
|
|
2880
3261
|
*/
|
|
@@ -2882,10 +3263,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2882
3263
|
return localVarFp.executeScript(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2883
3264
|
},
|
|
2884
3265
|
/**
|
|
2885
|
-
*
|
|
3266
|
+
*
|
|
2886
3267
|
* @summary Fill multiple form fields
|
|
2887
|
-
* @param {string} browserId
|
|
2888
|
-
* @param {FillFormRequest} payload
|
|
3268
|
+
* @param {string} browserId
|
|
3269
|
+
* @param {FillFormRequest} payload
|
|
2889
3270
|
* @param {*} [options] Override http request option.
|
|
2890
3271
|
* @throws {RequiredError}
|
|
2891
3272
|
*/
|
|
@@ -2895,7 +3276,7 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2895
3276
|
/**
|
|
2896
3277
|
* Returns the WebSocket URL that external tools (Playwright, Puppeteer, etc.) can use to connect directly to Chrome\'s DevTools Protocol for advanced automation like network interception, performance profiling, or custom CDP commands. The returned URL format: ws://host:port/devtools/browser/{guid} Note: The URL uses the container\'s internal address. For external access, ensure the CDP port is exposed and use the appropriate host address.
|
|
2897
3278
|
* @summary Get Chrome DevTools Protocol WebSocket URL for direct CDP access
|
|
2898
|
-
* @param {string} browserId
|
|
3279
|
+
* @param {string} browserId
|
|
2899
3280
|
* @param {*} [options] Override http request option.
|
|
2900
3281
|
* @throws {RequiredError}
|
|
2901
3282
|
*/
|
|
@@ -2903,9 +3284,9 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2903
3284
|
return localVarFp.getCdpEndpoint(browserId, options).then((request) => request(axios, basePath));
|
|
2904
3285
|
},
|
|
2905
3286
|
/**
|
|
2906
|
-
*
|
|
3287
|
+
*
|
|
2907
3288
|
* @summary Get page HTML
|
|
2908
|
-
* @param {string} browserId
|
|
3289
|
+
* @param {string} browserId
|
|
2909
3290
|
* @param {*} [options] Override http request option.
|
|
2910
3291
|
* @throws {RequiredError}
|
|
2911
3292
|
*/
|
|
@@ -2913,9 +3294,9 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2913
3294
|
return localVarFp.getContent(browserId, options).then((request) => request(axios, basePath));
|
|
2914
3295
|
},
|
|
2915
3296
|
/**
|
|
2916
|
-
*
|
|
3297
|
+
*
|
|
2917
3298
|
* @summary Get element text, attribute, or property
|
|
2918
|
-
* @param {string} browserId
|
|
3299
|
+
* @param {string} browserId
|
|
2919
3300
|
* @param {string} selector selector
|
|
2920
3301
|
* @param {string} dataType data_type
|
|
2921
3302
|
* @param {string} [name] name
|
|
@@ -2927,9 +3308,9 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2927
3308
|
return localVarFp.getElementData(browserId, selector, dataType, name, by, options).then((request) => request(axios, basePath));
|
|
2928
3309
|
},
|
|
2929
3310
|
/**
|
|
2930
|
-
*
|
|
3311
|
+
*
|
|
2931
3312
|
* @summary Get current URL
|
|
2932
|
-
* @param {string} browserId
|
|
3313
|
+
* @param {string} browserId
|
|
2933
3314
|
* @param {*} [options] Override http request option.
|
|
2934
3315
|
* @throws {RequiredError}
|
|
2935
3316
|
*/
|
|
@@ -2937,21 +3318,32 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2937
3318
|
return localVarFp.getUrl(browserId, options).then((request) => request(axios, basePath));
|
|
2938
3319
|
},
|
|
2939
3320
|
/**
|
|
2940
|
-
*
|
|
2941
|
-
* @summary GUI click by selector or coordinates
|
|
2942
|
-
* @param {string} browserId
|
|
2943
|
-
* @param {GuiClickRequest} payload
|
|
3321
|
+
* Selector mode uses `selector` with optional `fx` / `fy` offsets. Coordinate mode uses `x` / `y` and supports smart targeting knobs such as `pre_click_validate`, `auto_snap`, and `post_click_feedback`. Recommended agent mode: - `pre_click_validate=\"strict\"` - `auto_snap=\"nearest_clickable\"` - `post_click_feedback=\"auto\"` MCP keeps `gui_click_xy` as a compatibility alias for coordinate-mode `gui_click`.
|
|
3322
|
+
* @summary GUI click by selector or coordinates with smart validation
|
|
3323
|
+
* @param {string} browserId
|
|
3324
|
+
* @param {GuiClickRequest} payload
|
|
2944
3325
|
* @param {*} [options] Override http request option.
|
|
2945
3326
|
* @throws {RequiredError}
|
|
2946
3327
|
*/
|
|
2947
|
-
guiClick(browserId: string, payload: GuiClickRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3328
|
+
guiClick(browserId: string, payload: GuiClickRequest, options?: RawAxiosRequestConfig): AxiosPromise<GuiClickResult> {
|
|
2948
3329
|
return localVarFp.guiClick(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2949
3330
|
},
|
|
2950
3331
|
/**
|
|
2951
|
-
*
|
|
3332
|
+
* This mirrors coordinate-mode `gui_click`, accepts the same smart-click options, and returns the same response contract.
|
|
3333
|
+
* @summary MCP compatibility alias for coordinate-mode `gui_click`
|
|
3334
|
+
* @param {string} browserId
|
|
3335
|
+
* @param {GuiClickXYRequest} payload
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
*/
|
|
3339
|
+
guiClickXy(browserId: string, payload: GuiClickXYRequest, options?: RawAxiosRequestConfig): AxiosPromise<GuiClickResult> {
|
|
3340
|
+
return localVarFp.guiClickXy(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3341
|
+
},
|
|
3342
|
+
/**
|
|
3343
|
+
*
|
|
2952
3344
|
* @summary GUI hover at coordinates
|
|
2953
|
-
* @param {string} browserId
|
|
2954
|
-
* @param {GuiHoverXyRequest} payload
|
|
3345
|
+
* @param {string} browserId
|
|
3346
|
+
* @param {GuiHoverXyRequest} payload
|
|
2955
3347
|
* @param {*} [options] Override http request option.
|
|
2956
3348
|
* @throws {RequiredError}
|
|
2957
3349
|
*/
|
|
@@ -2959,10 +3351,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2959
3351
|
return localVarFp.guiHoverXy(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2960
3352
|
},
|
|
2961
3353
|
/**
|
|
2962
|
-
*
|
|
3354
|
+
*
|
|
2963
3355
|
* @summary Press keys at coordinates (click to focus, then send keys)
|
|
2964
|
-
* @param {string} browserId
|
|
2965
|
-
* @param {GuiPressKeysXyRequest} payload
|
|
3356
|
+
* @param {string} browserId
|
|
3357
|
+
* @param {GuiPressKeysXyRequest} payload
|
|
2966
3358
|
* @param {*} [options] Override http request option.
|
|
2967
3359
|
* @throws {RequiredError}
|
|
2968
3360
|
*/
|
|
@@ -2970,10 +3362,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2970
3362
|
return localVarFp.guiPressKeysXy(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2971
3363
|
},
|
|
2972
3364
|
/**
|
|
2973
|
-
*
|
|
3365
|
+
*
|
|
2974
3366
|
* @summary GUI type at coordinates - clicks then types text
|
|
2975
|
-
* @param {string} browserId
|
|
2976
|
-
* @param {GuiTypeXyRequest} payload
|
|
3367
|
+
* @param {string} browserId
|
|
3368
|
+
* @param {GuiTypeXyRequest} payload
|
|
2977
3369
|
* @param {*} [options] Override http request option.
|
|
2978
3370
|
* @throws {RequiredError}
|
|
2979
3371
|
*/
|
|
@@ -2981,10 +3373,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2981
3373
|
return localVarFp.guiTypeXy(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2982
3374
|
},
|
|
2983
3375
|
/**
|
|
2984
|
-
*
|
|
3376
|
+
*
|
|
2985
3377
|
* @summary History: back, forward, or refresh
|
|
2986
|
-
* @param {string} browserId
|
|
2987
|
-
* @param {HistoryRequest} payload
|
|
3378
|
+
* @param {string} browserId
|
|
3379
|
+
* @param {HistoryRequest} payload
|
|
2988
3380
|
* @param {*} [options] Override http request option.
|
|
2989
3381
|
* @throws {RequiredError}
|
|
2990
3382
|
*/
|
|
@@ -2992,10 +3384,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
2992
3384
|
return localVarFp.history(browserId, payload, options).then((request) => request(axios, basePath));
|
|
2993
3385
|
},
|
|
2994
3386
|
/**
|
|
2995
|
-
*
|
|
3387
|
+
*
|
|
2996
3388
|
* @summary Mouse: hover or drag
|
|
2997
|
-
* @param {string} browserId
|
|
2998
|
-
* @param {MouseRequest} payload
|
|
3389
|
+
* @param {string} browserId
|
|
3390
|
+
* @param {MouseRequest} payload
|
|
2999
3391
|
* @param {*} [options] Override http request option.
|
|
3000
3392
|
* @throws {RequiredError}
|
|
3001
3393
|
*/
|
|
@@ -3003,10 +3395,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3003
3395
|
return localVarFp.mouse(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3004
3396
|
},
|
|
3005
3397
|
/**
|
|
3006
|
-
*
|
|
3398
|
+
*
|
|
3007
3399
|
* @summary Navigate to URL
|
|
3008
|
-
* @param {string} browserId
|
|
3009
|
-
* @param {NavigateBrowserRequest} payload
|
|
3400
|
+
* @param {string} browserId
|
|
3401
|
+
* @param {NavigateBrowserRequest} payload
|
|
3010
3402
|
* @param {*} [options] Override http request option.
|
|
3011
3403
|
* @throws {RequiredError}
|
|
3012
3404
|
*/
|
|
@@ -3014,10 +3406,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3014
3406
|
return localVarFp.navigateBrowser(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3015
3407
|
},
|
|
3016
3408
|
/**
|
|
3017
|
-
*
|
|
3409
|
+
*
|
|
3018
3410
|
* @summary Network logs: get or clear
|
|
3019
|
-
* @param {string} browserId
|
|
3020
|
-
* @param {NetworkLogsRequest} payload
|
|
3411
|
+
* @param {string} browserId
|
|
3412
|
+
* @param {NetworkLogsRequest} payload
|
|
3021
3413
|
* @param {*} [options] Override http request option.
|
|
3022
3414
|
* @throws {RequiredError}
|
|
3023
3415
|
*/
|
|
@@ -3025,10 +3417,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3025
3417
|
return localVarFp.networkLogs(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3026
3418
|
},
|
|
3027
3419
|
/**
|
|
3028
|
-
*
|
|
3420
|
+
*
|
|
3029
3421
|
* @summary Performance: start_trace, stop_trace, metrics, analyze
|
|
3030
|
-
* @param {string} browserId
|
|
3031
|
-
* @param {PerformanceRequest} payload
|
|
3422
|
+
* @param {string} browserId
|
|
3423
|
+
* @param {PerformanceRequest} payload
|
|
3032
3424
|
* @param {*} [options] Override http request option.
|
|
3033
3425
|
* @throws {RequiredError}
|
|
3034
3426
|
*/
|
|
@@ -3036,10 +3428,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3036
3428
|
return localVarFp.performance(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3037
3429
|
},
|
|
3038
3430
|
/**
|
|
3039
|
-
*
|
|
3431
|
+
*
|
|
3040
3432
|
* @summary Press keyboard keys
|
|
3041
|
-
* @param {string} browserId
|
|
3042
|
-
* @param {PressKeysRequest} payload
|
|
3433
|
+
* @param {string} browserId
|
|
3434
|
+
* @param {PressKeysRequest} payload
|
|
3043
3435
|
* @param {*} [options] Override http request option.
|
|
3044
3436
|
* @throws {RequiredError}
|
|
3045
3437
|
*/
|
|
@@ -3047,10 +3439,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3047
3439
|
return localVarFp.pressKeys(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3048
3440
|
},
|
|
3049
3441
|
/**
|
|
3050
|
-
*
|
|
3442
|
+
*
|
|
3051
3443
|
* @summary Resize viewport
|
|
3052
|
-
* @param {string} browserId
|
|
3053
|
-
* @param {ResizeRequest} payload
|
|
3444
|
+
* @param {string} browserId
|
|
3445
|
+
* @param {ResizeRequest} payload
|
|
3054
3446
|
* @param {*} [options] Override http request option.
|
|
3055
3447
|
* @throws {RequiredError}
|
|
3056
3448
|
*/
|
|
@@ -3058,10 +3450,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3058
3450
|
return localVarFp.resize(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3059
3451
|
},
|
|
3060
3452
|
/**
|
|
3061
|
-
*
|
|
3453
|
+
*
|
|
3062
3454
|
* @summary Scroll to element/coords or by delta
|
|
3063
|
-
* @param {string} browserId
|
|
3064
|
-
* @param {ScrollRequest} payload
|
|
3455
|
+
* @param {string} browserId
|
|
3456
|
+
* @param {ScrollRequest} payload
|
|
3065
3457
|
* @param {*} [options] Override http request option.
|
|
3066
3458
|
* @throws {RequiredError}
|
|
3067
3459
|
*/
|
|
@@ -3069,10 +3461,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3069
3461
|
return localVarFp.scroll(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3070
3462
|
},
|
|
3071
3463
|
/**
|
|
3072
|
-
*
|
|
3464
|
+
*
|
|
3073
3465
|
* @summary Select dropdown: select option or get options
|
|
3074
|
-
* @param {string} browserId
|
|
3075
|
-
* @param {SelectRequest} payload
|
|
3466
|
+
* @param {string} browserId
|
|
3467
|
+
* @param {SelectRequest} payload
|
|
3076
3468
|
* @param {*} [options] Override http request option.
|
|
3077
3469
|
* @throws {RequiredError}
|
|
3078
3470
|
*/
|
|
@@ -3080,10 +3472,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3080
3472
|
return localVarFp.select(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3081
3473
|
},
|
|
3082
3474
|
/**
|
|
3083
|
-
*
|
|
3475
|
+
*
|
|
3084
3476
|
* @summary DOM or accessibility snapshot
|
|
3085
|
-
* @param {string} browserId
|
|
3086
|
-
* @param {SnapshotRequest} payload
|
|
3477
|
+
* @param {string} browserId
|
|
3478
|
+
* @param {SnapshotRequest} payload
|
|
3087
3479
|
* @param {*} [options] Override http request option.
|
|
3088
3480
|
* @throws {RequiredError}
|
|
3089
3481
|
*/
|
|
@@ -3091,10 +3483,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3091
3483
|
return localVarFp.snapshot(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3092
3484
|
},
|
|
3093
3485
|
/**
|
|
3094
|
-
*
|
|
3486
|
+
*
|
|
3095
3487
|
* @summary Tabs: list, new, switch, close, current
|
|
3096
|
-
* @param {string} browserId
|
|
3097
|
-
* @param {TabsRequest} payload
|
|
3488
|
+
* @param {string} browserId
|
|
3489
|
+
* @param {TabsRequest} payload
|
|
3098
3490
|
* @param {*} [options] Override http request option.
|
|
3099
3491
|
* @throws {RequiredError}
|
|
3100
3492
|
*/
|
|
@@ -3102,10 +3494,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3102
3494
|
return localVarFp.tabs(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3103
3495
|
},
|
|
3104
3496
|
/**
|
|
3105
|
-
*
|
|
3497
|
+
*
|
|
3106
3498
|
* @summary Take screenshot
|
|
3107
|
-
* @param {string} browserId
|
|
3108
|
-
* @param {TakeScreenshotRequest} payload
|
|
3499
|
+
* @param {string} browserId
|
|
3500
|
+
* @param {TakeScreenshotRequest} payload
|
|
3109
3501
|
* @param {*} [options] Override http request option.
|
|
3110
3502
|
* @throws {RequiredError}
|
|
3111
3503
|
*/
|
|
@@ -3113,10 +3505,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3113
3505
|
return localVarFp.takeScreenshot(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3114
3506
|
},
|
|
3115
3507
|
/**
|
|
3116
|
-
*
|
|
3508
|
+
*
|
|
3117
3509
|
* @summary Type text into element
|
|
3118
|
-
* @param {string} browserId
|
|
3119
|
-
* @param {TypeTextRequest} payload
|
|
3510
|
+
* @param {string} browserId
|
|
3511
|
+
* @param {TypeTextRequest} payload
|
|
3120
3512
|
* @param {*} [options] Override http request option.
|
|
3121
3513
|
* @throws {RequiredError}
|
|
3122
3514
|
*/
|
|
@@ -3124,10 +3516,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3124
3516
|
return localVarFp.typeText(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3125
3517
|
},
|
|
3126
3518
|
/**
|
|
3127
|
-
*
|
|
3519
|
+
*
|
|
3128
3520
|
* @summary Upload file to input
|
|
3129
|
-
* @param {string} browserId
|
|
3130
|
-
* @param {UploadFileRequest} payload
|
|
3521
|
+
* @param {string} browserId
|
|
3522
|
+
* @param {UploadFileRequest} payload
|
|
3131
3523
|
* @param {*} [options] Override http request option.
|
|
3132
3524
|
* @throws {RequiredError}
|
|
3133
3525
|
*/
|
|
@@ -3135,10 +3527,10 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3135
3527
|
return localVarFp.uploadFile(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3136
3528
|
},
|
|
3137
3529
|
/**
|
|
3138
|
-
*
|
|
3530
|
+
*
|
|
3139
3531
|
* @summary Wait for element to be visible or hidden
|
|
3140
|
-
* @param {string} browserId
|
|
3141
|
-
* @param {WaitElementRequest} payload
|
|
3532
|
+
* @param {string} browserId
|
|
3533
|
+
* @param {WaitElementRequest} payload
|
|
3142
3534
|
* @param {*} [options] Override http request option.
|
|
3143
3535
|
* @throws {RequiredError}
|
|
3144
3536
|
*/
|
|
@@ -3146,14 +3538,15 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3146
3538
|
return localVarFp.waitElement(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3147
3539
|
},
|
|
3148
3540
|
/**
|
|
3149
|
-
*
|
|
3541
|
+
*
|
|
3150
3542
|
* @summary AI page analysis - what\'s visible
|
|
3151
|
-
* @param {string} browserId
|
|
3543
|
+
* @param {string} browserId
|
|
3544
|
+
* @param {WhatIsVisibleRequest} payload
|
|
3152
3545
|
* @param {*} [options] Override http request option.
|
|
3153
3546
|
* @throws {RequiredError}
|
|
3154
3547
|
*/
|
|
3155
|
-
whatIsVisible(browserId: string, options?: RawAxiosRequestConfig): AxiosPromise<GenericResponse> {
|
|
3156
|
-
return localVarFp.whatIsVisible(browserId, options).then((request) => request(axios, basePath));
|
|
3548
|
+
whatIsVisible(browserId: string, payload: WhatIsVisibleRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenericResponse> {
|
|
3549
|
+
return localVarFp.whatIsVisible(browserId, payload, options).then((request) => request(axios, basePath));
|
|
3157
3550
|
},
|
|
3158
3551
|
};
|
|
3159
3552
|
};
|
|
@@ -3163,9 +3556,9 @@ export const BrowserApiFactory = function (configuration?: Configuration, basePa
|
|
|
3163
3556
|
*/
|
|
3164
3557
|
export class BrowserApi extends BaseAPI {
|
|
3165
3558
|
/**
|
|
3166
|
-
*
|
|
3559
|
+
*
|
|
3167
3560
|
* @summary Admin: list all, get info, or close all browsers
|
|
3168
|
-
* @param {BrowsersRequest} payload
|
|
3561
|
+
* @param {BrowsersRequest} payload
|
|
3169
3562
|
* @param {*} [options] Override http request option.
|
|
3170
3563
|
* @throws {RequiredError}
|
|
3171
3564
|
*/
|
|
@@ -3174,9 +3567,9 @@ export class BrowserApi extends BaseAPI {
|
|
|
3174
3567
|
}
|
|
3175
3568
|
|
|
3176
3569
|
/**
|
|
3177
|
-
*
|
|
3570
|
+
*
|
|
3178
3571
|
* @summary Check if element exists or is visible
|
|
3179
|
-
* @param {string} browserId
|
|
3572
|
+
* @param {string} browserId
|
|
3180
3573
|
* @param {string} selector selector
|
|
3181
3574
|
* @param {string} check check
|
|
3182
3575
|
* @param {string} [by] by
|
|
@@ -3190,8 +3583,8 @@ export class BrowserApi extends BaseAPI {
|
|
|
3190
3583
|
/**
|
|
3191
3584
|
* Use if_visible=True to only click if visible.
|
|
3192
3585
|
* @summary Click element
|
|
3193
|
-
* @param {string} browserId
|
|
3194
|
-
* @param {ClickRequest} payload
|
|
3586
|
+
* @param {string} browserId
|
|
3587
|
+
* @param {ClickRequest} payload
|
|
3195
3588
|
* @param {*} [options] Override http request option.
|
|
3196
3589
|
* @throws {RequiredError}
|
|
3197
3590
|
*/
|
|
@@ -3200,9 +3593,9 @@ export class BrowserApi extends BaseAPI {
|
|
|
3200
3593
|
}
|
|
3201
3594
|
|
|
3202
3595
|
/**
|
|
3203
|
-
*
|
|
3596
|
+
*
|
|
3204
3597
|
* @summary Close browser instance
|
|
3205
|
-
* @param {string} browserId
|
|
3598
|
+
* @param {string} browserId
|
|
3206
3599
|
* @param {*} [options] Override http request option.
|
|
3207
3600
|
* @throws {RequiredError}
|
|
3208
3601
|
*/
|
|
@@ -3211,10 +3604,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3211
3604
|
}
|
|
3212
3605
|
|
|
3213
3606
|
/**
|
|
3214
|
-
*
|
|
3607
|
+
*
|
|
3215
3608
|
* @summary Console logs: get or clear
|
|
3216
|
-
* @param {string} browserId
|
|
3217
|
-
* @param {ConsoleLogsRequest} payload
|
|
3609
|
+
* @param {string} browserId
|
|
3610
|
+
* @param {ConsoleLogsRequest} payload
|
|
3218
3611
|
* @param {*} [options] Override http request option.
|
|
3219
3612
|
* @throws {RequiredError}
|
|
3220
3613
|
*/
|
|
@@ -3225,8 +3618,8 @@ export class BrowserApi extends BaseAPI {
|
|
|
3225
3618
|
/**
|
|
3226
3619
|
* Actions: - get: Get all cookies (including HttpOnly via CDP) - set: Set a cookie (requires cookie dict with name, value, domain, etc.) - delete: Delete specific cookie by name (and optionally domain) - clear: Delete all cookies Examples: - Get all: action=\"get\" - Set: action=\"set\", cookie={\"name\": \"session\", \"value\": \"abc\", \"domain\": \".example.com\"} - Delete one: action=\"delete\", name=\"session\", domain=\".example.com\" - Clear all: action=\"clear\"
|
|
3227
3620
|
* @summary Manage browser cookies
|
|
3228
|
-
* @param {string} browserId
|
|
3229
|
-
* @param {CookiesRequest} payload
|
|
3621
|
+
* @param {string} browserId
|
|
3622
|
+
* @param {CookiesRequest} payload
|
|
3230
3623
|
* @param {*} [options] Override http request option.
|
|
3231
3624
|
* @throws {RequiredError}
|
|
3232
3625
|
*/
|
|
@@ -3235,9 +3628,9 @@ export class BrowserApi extends BaseAPI {
|
|
|
3235
3628
|
}
|
|
3236
3629
|
|
|
3237
3630
|
/**
|
|
3238
|
-
*
|
|
3631
|
+
*
|
|
3239
3632
|
* @summary Create browser instance with optional persistent profile
|
|
3240
|
-
* @param {CreateBrowserRequest} payload
|
|
3633
|
+
* @param {CreateBrowserRequest} payload
|
|
3241
3634
|
* @param {*} [options] Override http request option.
|
|
3242
3635
|
* @throws {RequiredError}
|
|
3243
3636
|
*/
|
|
@@ -3246,10 +3639,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3246
3639
|
}
|
|
3247
3640
|
|
|
3248
3641
|
/**
|
|
3249
|
-
* Args: browser_id: Browser instance identifier prompt: Natural language description of element to find fx: Fractional x offset for click point (0.0=left, 0.5=center, 1.0=right). If None, auto-bias is applied for wide elements (0.25 for aspect ratio > 10). fy: Fractional y offset for click point (0.0=top, 0.5=center, 1.0=bottom).
|
|
3250
|
-
* @summary Detect element coordinates using vision
|
|
3251
|
-
* @param {string} browserId
|
|
3252
|
-
* @param {DetectCoordinatesRequest} payload
|
|
3642
|
+
* Args: browser_id: Browser instance identifier prompt: Natural language description of element to find fx: Fractional x offset for click point (0.0=left, 0.5=center, 1.0=right). If None, auto-bias is applied for wide elements (0.25 for aspect ratio > 10). fy: Fractional y offset for click point (0.0=top, 0.5=center, 1.0=bottom). model: Optional vision model override for this request. stream: Optional vision streaming override for this request. hit_test: Detect-time validation mode: off, warn, or strict. Recommended for agents: `strict`. auto_snap: Auto-snap mode: off, nearest_clickable, or nearest_interactive. Recommended for agents: `nearest_clickable`. snap_radius: Maximum snap radius in CSS pixels. include_debug: Include detect debug diagnostics when available.
|
|
3643
|
+
* @summary Detect element coordinates using vision with optional smart targeting
|
|
3644
|
+
* @param {string} browserId
|
|
3645
|
+
* @param {DetectCoordinatesRequest} payload
|
|
3253
3646
|
* @param {*} [options] Override http request option.
|
|
3254
3647
|
* @throws {RequiredError}
|
|
3255
3648
|
*/
|
|
@@ -3258,10 +3651,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3258
3651
|
}
|
|
3259
3652
|
|
|
3260
3653
|
/**
|
|
3261
|
-
*
|
|
3654
|
+
*
|
|
3262
3655
|
* @summary Dialogs: get, accept, dismiss
|
|
3263
|
-
* @param {string} browserId
|
|
3264
|
-
* @param {DialogRequest} payload
|
|
3656
|
+
* @param {string} browserId
|
|
3657
|
+
* @param {DialogRequest} payload
|
|
3265
3658
|
* @param {*} [options] Override http request option.
|
|
3266
3659
|
* @throws {RequiredError}
|
|
3267
3660
|
*/
|
|
@@ -3270,10 +3663,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3270
3663
|
}
|
|
3271
3664
|
|
|
3272
3665
|
/**
|
|
3273
|
-
*
|
|
3666
|
+
*
|
|
3274
3667
|
* @summary Emulation: set, clear, list_devices
|
|
3275
|
-
* @param {string} browserId
|
|
3276
|
-
* @param {EmulateRequest} payload
|
|
3668
|
+
* @param {string} browserId
|
|
3669
|
+
* @param {EmulateRequest} payload
|
|
3277
3670
|
* @param {*} [options] Override http request option.
|
|
3278
3671
|
* @throws {RequiredError}
|
|
3279
3672
|
*/
|
|
@@ -3284,8 +3677,8 @@ export class BrowserApi extends BaseAPI {
|
|
|
3284
3677
|
/**
|
|
3285
3678
|
* Provides direct access to CDP methods for advanced browser control. Common use cases: - Get all cookies: method=\"Network.getAllCookies\" - Set cookie: method=\"Network.setCookie\", params={\"name\": \"...\", \"value\": \"...\", \"domain\": \"...\"} - Delete cookies: method=\"Network.deleteCookies\", params={\"name\": \"...\", \"domain\": \"...\"} Full CDP reference: https://chromedevtools.github.io/devtools-protocol/
|
|
3286
3679
|
* @summary Execute a Chrome DevTools Protocol command
|
|
3287
|
-
* @param {string} browserId
|
|
3288
|
-
* @param {ExecuteCdpRequest} payload
|
|
3680
|
+
* @param {string} browserId
|
|
3681
|
+
* @param {ExecuteCdpRequest} payload
|
|
3289
3682
|
* @param {*} [options] Override http request option.
|
|
3290
3683
|
* @throws {RequiredError}
|
|
3291
3684
|
*/
|
|
@@ -3294,10 +3687,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3294
3687
|
}
|
|
3295
3688
|
|
|
3296
3689
|
/**
|
|
3297
|
-
*
|
|
3690
|
+
*
|
|
3298
3691
|
* @summary Execute JavaScript
|
|
3299
|
-
* @param {string} browserId
|
|
3300
|
-
* @param {ExecuteScriptRequest} payload
|
|
3692
|
+
* @param {string} browserId
|
|
3693
|
+
* @param {ExecuteScriptRequest} payload
|
|
3301
3694
|
* @param {*} [options] Override http request option.
|
|
3302
3695
|
* @throws {RequiredError}
|
|
3303
3696
|
*/
|
|
@@ -3306,10 +3699,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3306
3699
|
}
|
|
3307
3700
|
|
|
3308
3701
|
/**
|
|
3309
|
-
*
|
|
3702
|
+
*
|
|
3310
3703
|
* @summary Fill multiple form fields
|
|
3311
|
-
* @param {string} browserId
|
|
3312
|
-
* @param {FillFormRequest} payload
|
|
3704
|
+
* @param {string} browserId
|
|
3705
|
+
* @param {FillFormRequest} payload
|
|
3313
3706
|
* @param {*} [options] Override http request option.
|
|
3314
3707
|
* @throws {RequiredError}
|
|
3315
3708
|
*/
|
|
@@ -3320,7 +3713,7 @@ export class BrowserApi extends BaseAPI {
|
|
|
3320
3713
|
/**
|
|
3321
3714
|
* Returns the WebSocket URL that external tools (Playwright, Puppeteer, etc.) can use to connect directly to Chrome\'s DevTools Protocol for advanced automation like network interception, performance profiling, or custom CDP commands. The returned URL format: ws://host:port/devtools/browser/{guid} Note: The URL uses the container\'s internal address. For external access, ensure the CDP port is exposed and use the appropriate host address.
|
|
3322
3715
|
* @summary Get Chrome DevTools Protocol WebSocket URL for direct CDP access
|
|
3323
|
-
* @param {string} browserId
|
|
3716
|
+
* @param {string} browserId
|
|
3324
3717
|
* @param {*} [options] Override http request option.
|
|
3325
3718
|
* @throws {RequiredError}
|
|
3326
3719
|
*/
|
|
@@ -3329,9 +3722,9 @@ export class BrowserApi extends BaseAPI {
|
|
|
3329
3722
|
}
|
|
3330
3723
|
|
|
3331
3724
|
/**
|
|
3332
|
-
*
|
|
3725
|
+
*
|
|
3333
3726
|
* @summary Get page HTML
|
|
3334
|
-
* @param {string} browserId
|
|
3727
|
+
* @param {string} browserId
|
|
3335
3728
|
* @param {*} [options] Override http request option.
|
|
3336
3729
|
* @throws {RequiredError}
|
|
3337
3730
|
*/
|
|
@@ -3340,9 +3733,9 @@ export class BrowserApi extends BaseAPI {
|
|
|
3340
3733
|
}
|
|
3341
3734
|
|
|
3342
3735
|
/**
|
|
3343
|
-
*
|
|
3736
|
+
*
|
|
3344
3737
|
* @summary Get element text, attribute, or property
|
|
3345
|
-
* @param {string} browserId
|
|
3738
|
+
* @param {string} browserId
|
|
3346
3739
|
* @param {string} selector selector
|
|
3347
3740
|
* @param {string} dataType data_type
|
|
3348
3741
|
* @param {string} [name] name
|
|
@@ -3355,9 +3748,9 @@ export class BrowserApi extends BaseAPI {
|
|
|
3355
3748
|
}
|
|
3356
3749
|
|
|
3357
3750
|
/**
|
|
3358
|
-
*
|
|
3751
|
+
*
|
|
3359
3752
|
* @summary Get current URL
|
|
3360
|
-
* @param {string} browserId
|
|
3753
|
+
* @param {string} browserId
|
|
3361
3754
|
* @param {*} [options] Override http request option.
|
|
3362
3755
|
* @throws {RequiredError}
|
|
3363
3756
|
*/
|
|
@@ -3366,10 +3759,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3366
3759
|
}
|
|
3367
3760
|
|
|
3368
3761
|
/**
|
|
3369
|
-
*
|
|
3370
|
-
* @summary GUI click by selector or coordinates
|
|
3371
|
-
* @param {string} browserId
|
|
3372
|
-
* @param {GuiClickRequest} payload
|
|
3762
|
+
* Selector mode uses `selector` with optional `fx` / `fy` offsets. Coordinate mode uses `x` / `y` and supports smart targeting knobs such as `pre_click_validate`, `auto_snap`, and `post_click_feedback`. Recommended agent mode: - `pre_click_validate=\"strict\"` - `auto_snap=\"nearest_clickable\"` - `post_click_feedback=\"auto\"` MCP keeps `gui_click_xy` as a compatibility alias for coordinate-mode `gui_click`.
|
|
3763
|
+
* @summary GUI click by selector or coordinates with smart validation
|
|
3764
|
+
* @param {string} browserId
|
|
3765
|
+
* @param {GuiClickRequest} payload
|
|
3373
3766
|
* @param {*} [options] Override http request option.
|
|
3374
3767
|
* @throws {RequiredError}
|
|
3375
3768
|
*/
|
|
@@ -3378,10 +3771,22 @@ export class BrowserApi extends BaseAPI {
|
|
|
3378
3771
|
}
|
|
3379
3772
|
|
|
3380
3773
|
/**
|
|
3381
|
-
*
|
|
3774
|
+
* This mirrors coordinate-mode `gui_click`, accepts the same smart-click options, and returns the same response contract.
|
|
3775
|
+
* @summary MCP compatibility alias for coordinate-mode `gui_click`
|
|
3776
|
+
* @param {string} browserId
|
|
3777
|
+
* @param {GuiClickXYRequest} payload
|
|
3778
|
+
* @param {*} [options] Override http request option.
|
|
3779
|
+
* @throws {RequiredError}
|
|
3780
|
+
*/
|
|
3781
|
+
public guiClickXy(browserId: string, payload: GuiClickXYRequest, options?: RawAxiosRequestConfig) {
|
|
3782
|
+
return BrowserApiFp(this.configuration).guiClickXy(browserId, payload, options).then((request) => request(this.axios, this.basePath));
|
|
3783
|
+
}
|
|
3784
|
+
|
|
3785
|
+
/**
|
|
3786
|
+
*
|
|
3382
3787
|
* @summary GUI hover at coordinates
|
|
3383
|
-
* @param {string} browserId
|
|
3384
|
-
* @param {GuiHoverXyRequest} payload
|
|
3788
|
+
* @param {string} browserId
|
|
3789
|
+
* @param {GuiHoverXyRequest} payload
|
|
3385
3790
|
* @param {*} [options] Override http request option.
|
|
3386
3791
|
* @throws {RequiredError}
|
|
3387
3792
|
*/
|
|
@@ -3390,10 +3795,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3390
3795
|
}
|
|
3391
3796
|
|
|
3392
3797
|
/**
|
|
3393
|
-
*
|
|
3798
|
+
*
|
|
3394
3799
|
* @summary Press keys at coordinates (click to focus, then send keys)
|
|
3395
|
-
* @param {string} browserId
|
|
3396
|
-
* @param {GuiPressKeysXyRequest} payload
|
|
3800
|
+
* @param {string} browserId
|
|
3801
|
+
* @param {GuiPressKeysXyRequest} payload
|
|
3397
3802
|
* @param {*} [options] Override http request option.
|
|
3398
3803
|
* @throws {RequiredError}
|
|
3399
3804
|
*/
|
|
@@ -3402,10 +3807,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3402
3807
|
}
|
|
3403
3808
|
|
|
3404
3809
|
/**
|
|
3405
|
-
*
|
|
3810
|
+
*
|
|
3406
3811
|
* @summary GUI type at coordinates - clicks then types text
|
|
3407
|
-
* @param {string} browserId
|
|
3408
|
-
* @param {GuiTypeXyRequest} payload
|
|
3812
|
+
* @param {string} browserId
|
|
3813
|
+
* @param {GuiTypeXyRequest} payload
|
|
3409
3814
|
* @param {*} [options] Override http request option.
|
|
3410
3815
|
* @throws {RequiredError}
|
|
3411
3816
|
*/
|
|
@@ -3414,10 +3819,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3414
3819
|
}
|
|
3415
3820
|
|
|
3416
3821
|
/**
|
|
3417
|
-
*
|
|
3822
|
+
*
|
|
3418
3823
|
* @summary History: back, forward, or refresh
|
|
3419
|
-
* @param {string} browserId
|
|
3420
|
-
* @param {HistoryRequest} payload
|
|
3824
|
+
* @param {string} browserId
|
|
3825
|
+
* @param {HistoryRequest} payload
|
|
3421
3826
|
* @param {*} [options] Override http request option.
|
|
3422
3827
|
* @throws {RequiredError}
|
|
3423
3828
|
*/
|
|
@@ -3426,10 +3831,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3426
3831
|
}
|
|
3427
3832
|
|
|
3428
3833
|
/**
|
|
3429
|
-
*
|
|
3834
|
+
*
|
|
3430
3835
|
* @summary Mouse: hover or drag
|
|
3431
|
-
* @param {string} browserId
|
|
3432
|
-
* @param {MouseRequest} payload
|
|
3836
|
+
* @param {string} browserId
|
|
3837
|
+
* @param {MouseRequest} payload
|
|
3433
3838
|
* @param {*} [options] Override http request option.
|
|
3434
3839
|
* @throws {RequiredError}
|
|
3435
3840
|
*/
|
|
@@ -3438,10 +3843,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3438
3843
|
}
|
|
3439
3844
|
|
|
3440
3845
|
/**
|
|
3441
|
-
*
|
|
3846
|
+
*
|
|
3442
3847
|
* @summary Navigate to URL
|
|
3443
|
-
* @param {string} browserId
|
|
3444
|
-
* @param {NavigateBrowserRequest} payload
|
|
3848
|
+
* @param {string} browserId
|
|
3849
|
+
* @param {NavigateBrowserRequest} payload
|
|
3445
3850
|
* @param {*} [options] Override http request option.
|
|
3446
3851
|
* @throws {RequiredError}
|
|
3447
3852
|
*/
|
|
@@ -3450,10 +3855,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3450
3855
|
}
|
|
3451
3856
|
|
|
3452
3857
|
/**
|
|
3453
|
-
*
|
|
3858
|
+
*
|
|
3454
3859
|
* @summary Network logs: get or clear
|
|
3455
|
-
* @param {string} browserId
|
|
3456
|
-
* @param {NetworkLogsRequest} payload
|
|
3860
|
+
* @param {string} browserId
|
|
3861
|
+
* @param {NetworkLogsRequest} payload
|
|
3457
3862
|
* @param {*} [options] Override http request option.
|
|
3458
3863
|
* @throws {RequiredError}
|
|
3459
3864
|
*/
|
|
@@ -3462,10 +3867,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3462
3867
|
}
|
|
3463
3868
|
|
|
3464
3869
|
/**
|
|
3465
|
-
*
|
|
3870
|
+
*
|
|
3466
3871
|
* @summary Performance: start_trace, stop_trace, metrics, analyze
|
|
3467
|
-
* @param {string} browserId
|
|
3468
|
-
* @param {PerformanceRequest} payload
|
|
3872
|
+
* @param {string} browserId
|
|
3873
|
+
* @param {PerformanceRequest} payload
|
|
3469
3874
|
* @param {*} [options] Override http request option.
|
|
3470
3875
|
* @throws {RequiredError}
|
|
3471
3876
|
*/
|
|
@@ -3474,10 +3879,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3474
3879
|
}
|
|
3475
3880
|
|
|
3476
3881
|
/**
|
|
3477
|
-
*
|
|
3882
|
+
*
|
|
3478
3883
|
* @summary Press keyboard keys
|
|
3479
|
-
* @param {string} browserId
|
|
3480
|
-
* @param {PressKeysRequest} payload
|
|
3884
|
+
* @param {string} browserId
|
|
3885
|
+
* @param {PressKeysRequest} payload
|
|
3481
3886
|
* @param {*} [options] Override http request option.
|
|
3482
3887
|
* @throws {RequiredError}
|
|
3483
3888
|
*/
|
|
@@ -3486,10 +3891,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3486
3891
|
}
|
|
3487
3892
|
|
|
3488
3893
|
/**
|
|
3489
|
-
*
|
|
3894
|
+
*
|
|
3490
3895
|
* @summary Resize viewport
|
|
3491
|
-
* @param {string} browserId
|
|
3492
|
-
* @param {ResizeRequest} payload
|
|
3896
|
+
* @param {string} browserId
|
|
3897
|
+
* @param {ResizeRequest} payload
|
|
3493
3898
|
* @param {*} [options] Override http request option.
|
|
3494
3899
|
* @throws {RequiredError}
|
|
3495
3900
|
*/
|
|
@@ -3498,10 +3903,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3498
3903
|
}
|
|
3499
3904
|
|
|
3500
3905
|
/**
|
|
3501
|
-
*
|
|
3906
|
+
*
|
|
3502
3907
|
* @summary Scroll to element/coords or by delta
|
|
3503
|
-
* @param {string} browserId
|
|
3504
|
-
* @param {ScrollRequest} payload
|
|
3908
|
+
* @param {string} browserId
|
|
3909
|
+
* @param {ScrollRequest} payload
|
|
3505
3910
|
* @param {*} [options] Override http request option.
|
|
3506
3911
|
* @throws {RequiredError}
|
|
3507
3912
|
*/
|
|
@@ -3510,10 +3915,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3510
3915
|
}
|
|
3511
3916
|
|
|
3512
3917
|
/**
|
|
3513
|
-
*
|
|
3918
|
+
*
|
|
3514
3919
|
* @summary Select dropdown: select option or get options
|
|
3515
|
-
* @param {string} browserId
|
|
3516
|
-
* @param {SelectRequest} payload
|
|
3920
|
+
* @param {string} browserId
|
|
3921
|
+
* @param {SelectRequest} payload
|
|
3517
3922
|
* @param {*} [options] Override http request option.
|
|
3518
3923
|
* @throws {RequiredError}
|
|
3519
3924
|
*/
|
|
@@ -3522,10 +3927,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3522
3927
|
}
|
|
3523
3928
|
|
|
3524
3929
|
/**
|
|
3525
|
-
*
|
|
3930
|
+
*
|
|
3526
3931
|
* @summary DOM or accessibility snapshot
|
|
3527
|
-
* @param {string} browserId
|
|
3528
|
-
* @param {SnapshotRequest} payload
|
|
3932
|
+
* @param {string} browserId
|
|
3933
|
+
* @param {SnapshotRequest} payload
|
|
3529
3934
|
* @param {*} [options] Override http request option.
|
|
3530
3935
|
* @throws {RequiredError}
|
|
3531
3936
|
*/
|
|
@@ -3534,10 +3939,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3534
3939
|
}
|
|
3535
3940
|
|
|
3536
3941
|
/**
|
|
3537
|
-
*
|
|
3942
|
+
*
|
|
3538
3943
|
* @summary Tabs: list, new, switch, close, current
|
|
3539
|
-
* @param {string} browserId
|
|
3540
|
-
* @param {TabsRequest} payload
|
|
3944
|
+
* @param {string} browserId
|
|
3945
|
+
* @param {TabsRequest} payload
|
|
3541
3946
|
* @param {*} [options] Override http request option.
|
|
3542
3947
|
* @throws {RequiredError}
|
|
3543
3948
|
*/
|
|
@@ -3546,10 +3951,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3546
3951
|
}
|
|
3547
3952
|
|
|
3548
3953
|
/**
|
|
3549
|
-
*
|
|
3954
|
+
*
|
|
3550
3955
|
* @summary Take screenshot
|
|
3551
|
-
* @param {string} browserId
|
|
3552
|
-
* @param {TakeScreenshotRequest} payload
|
|
3956
|
+
* @param {string} browserId
|
|
3957
|
+
* @param {TakeScreenshotRequest} payload
|
|
3553
3958
|
* @param {*} [options] Override http request option.
|
|
3554
3959
|
* @throws {RequiredError}
|
|
3555
3960
|
*/
|
|
@@ -3558,10 +3963,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3558
3963
|
}
|
|
3559
3964
|
|
|
3560
3965
|
/**
|
|
3561
|
-
*
|
|
3966
|
+
*
|
|
3562
3967
|
* @summary Type text into element
|
|
3563
|
-
* @param {string} browserId
|
|
3564
|
-
* @param {TypeTextRequest} payload
|
|
3968
|
+
* @param {string} browserId
|
|
3969
|
+
* @param {TypeTextRequest} payload
|
|
3565
3970
|
* @param {*} [options] Override http request option.
|
|
3566
3971
|
* @throws {RequiredError}
|
|
3567
3972
|
*/
|
|
@@ -3570,10 +3975,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3570
3975
|
}
|
|
3571
3976
|
|
|
3572
3977
|
/**
|
|
3573
|
-
*
|
|
3978
|
+
*
|
|
3574
3979
|
* @summary Upload file to input
|
|
3575
|
-
* @param {string} browserId
|
|
3576
|
-
* @param {UploadFileRequest} payload
|
|
3980
|
+
* @param {string} browserId
|
|
3981
|
+
* @param {UploadFileRequest} payload
|
|
3577
3982
|
* @param {*} [options] Override http request option.
|
|
3578
3983
|
* @throws {RequiredError}
|
|
3579
3984
|
*/
|
|
@@ -3582,10 +3987,10 @@ export class BrowserApi extends BaseAPI {
|
|
|
3582
3987
|
}
|
|
3583
3988
|
|
|
3584
3989
|
/**
|
|
3585
|
-
*
|
|
3990
|
+
*
|
|
3586
3991
|
* @summary Wait for element to be visible or hidden
|
|
3587
|
-
* @param {string} browserId
|
|
3588
|
-
* @param {WaitElementRequest} payload
|
|
3992
|
+
* @param {string} browserId
|
|
3993
|
+
* @param {WaitElementRequest} payload
|
|
3589
3994
|
* @param {*} [options] Override http request option.
|
|
3590
3995
|
* @throws {RequiredError}
|
|
3591
3996
|
*/
|
|
@@ -3594,14 +3999,15 @@ export class BrowserApi extends BaseAPI {
|
|
|
3594
3999
|
}
|
|
3595
4000
|
|
|
3596
4001
|
/**
|
|
3597
|
-
*
|
|
4002
|
+
*
|
|
3598
4003
|
* @summary AI page analysis - what\'s visible
|
|
3599
|
-
* @param {string} browserId
|
|
4004
|
+
* @param {string} browserId
|
|
4005
|
+
* @param {WhatIsVisibleRequest} payload
|
|
3600
4006
|
* @param {*} [options] Override http request option.
|
|
3601
4007
|
* @throws {RequiredError}
|
|
3602
4008
|
*/
|
|
3603
|
-
public whatIsVisible(browserId: string, options?: RawAxiosRequestConfig) {
|
|
3604
|
-
return BrowserApiFp(this.configuration).whatIsVisible(browserId, options).then((request) => request(this.axios, this.basePath));
|
|
4009
|
+
public whatIsVisible(browserId: string, payload: WhatIsVisibleRequest, options?: RawAxiosRequestConfig) {
|
|
4010
|
+
return BrowserApiFp(this.configuration).whatIsVisible(browserId, payload, options).then((request) => request(this.axios, this.basePath));
|
|
3605
4011
|
}
|
|
3606
4012
|
}
|
|
3607
4013
|
|
|
@@ -3613,7 +4019,7 @@ export class BrowserApi extends BaseAPI {
|
|
|
3613
4019
|
export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3614
4020
|
return {
|
|
3615
4021
|
/**
|
|
3616
|
-
*
|
|
4022
|
+
*
|
|
3617
4023
|
* @summary Check the health status of the browser pool
|
|
3618
4024
|
* @param {*} [options] Override http request option.
|
|
3619
4025
|
* @throws {RequiredError}
|
|
@@ -3643,7 +4049,7 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3643
4049
|
};
|
|
3644
4050
|
},
|
|
3645
4051
|
/**
|
|
3646
|
-
*
|
|
4052
|
+
*
|
|
3647
4053
|
* @summary Get Prometheus-style metrics for monitoring
|
|
3648
4054
|
* @param {*} [options] Override http request option.
|
|
3649
4055
|
* @throws {RequiredError}
|
|
@@ -3681,7 +4087,7 @@ export const HealthApiFp = function(configuration?: Configuration) {
|
|
|
3681
4087
|
const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
|
|
3682
4088
|
return {
|
|
3683
4089
|
/**
|
|
3684
|
-
*
|
|
4090
|
+
*
|
|
3685
4091
|
* @summary Check the health status of the browser pool
|
|
3686
4092
|
* @param {*} [options] Override http request option.
|
|
3687
4093
|
* @throws {RequiredError}
|
|
@@ -3693,7 +4099,7 @@ export const HealthApiFp = function(configuration?: Configuration) {
|
|
|
3693
4099
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3694
4100
|
},
|
|
3695
4101
|
/**
|
|
3696
|
-
*
|
|
4102
|
+
*
|
|
3697
4103
|
* @summary Get Prometheus-style metrics for monitoring
|
|
3698
4104
|
* @param {*} [options] Override http request option.
|
|
3699
4105
|
* @throws {RequiredError}
|
|
@@ -3714,7 +4120,7 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
|
|
|
3714
4120
|
const localVarFp = HealthApiFp(configuration)
|
|
3715
4121
|
return {
|
|
3716
4122
|
/**
|
|
3717
|
-
*
|
|
4123
|
+
*
|
|
3718
4124
|
* @summary Check the health status of the browser pool
|
|
3719
4125
|
* @param {*} [options] Override http request option.
|
|
3720
4126
|
* @throws {RequiredError}
|
|
@@ -3723,7 +4129,7 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
|
|
|
3723
4129
|
return localVarFp.healthCheck(options).then((request) => request(axios, basePath));
|
|
3724
4130
|
},
|
|
3725
4131
|
/**
|
|
3726
|
-
*
|
|
4132
|
+
*
|
|
3727
4133
|
* @summary Get Prometheus-style metrics for monitoring
|
|
3728
4134
|
* @param {*} [options] Override http request option.
|
|
3729
4135
|
* @throws {RequiredError}
|
|
@@ -3739,7 +4145,7 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
|
|
|
3739
4145
|
*/
|
|
3740
4146
|
export class HealthApi extends BaseAPI {
|
|
3741
4147
|
/**
|
|
3742
|
-
*
|
|
4148
|
+
*
|
|
3743
4149
|
* @summary Check the health status of the browser pool
|
|
3744
4150
|
* @param {*} [options] Override http request option.
|
|
3745
4151
|
* @throws {RequiredError}
|
|
@@ -3749,7 +4155,7 @@ export class HealthApi extends BaseAPI {
|
|
|
3749
4155
|
}
|
|
3750
4156
|
|
|
3751
4157
|
/**
|
|
3752
|
-
*
|
|
4158
|
+
*
|
|
3753
4159
|
* @summary Get Prometheus-style metrics for monitoring
|
|
3754
4160
|
* @param {*} [options] Override http request option.
|
|
3755
4161
|
* @throws {RequiredError}
|
|
@@ -3767,9 +4173,9 @@ export class HealthApi extends BaseAPI {
|
|
|
3767
4173
|
export const PoolApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3768
4174
|
return {
|
|
3769
4175
|
/**
|
|
3770
|
-
*
|
|
4176
|
+
*
|
|
3771
4177
|
* @summary Scale the browser pool to a new maximum size
|
|
3772
|
-
* @param {ScalePool} payload
|
|
4178
|
+
* @param {ScalePool} payload
|
|
3773
4179
|
* @param {*} [options] Override http request option.
|
|
3774
4180
|
* @throws {RequiredError}
|
|
3775
4181
|
*/
|
|
@@ -3802,7 +4208,7 @@ export const PoolApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3802
4208
|
};
|
|
3803
4209
|
},
|
|
3804
4210
|
/**
|
|
3805
|
-
*
|
|
4211
|
+
*
|
|
3806
4212
|
* @summary Gracefully shutdown the browser pool server
|
|
3807
4213
|
* @param {*} [options] Override http request option.
|
|
3808
4214
|
* @throws {RequiredError}
|
|
@@ -3841,9 +4247,9 @@ export const PoolApiFp = function(configuration?: Configuration) {
|
|
|
3841
4247
|
const localVarAxiosParamCreator = PoolApiAxiosParamCreator(configuration)
|
|
3842
4248
|
return {
|
|
3843
4249
|
/**
|
|
3844
|
-
*
|
|
4250
|
+
*
|
|
3845
4251
|
* @summary Scale the browser pool to a new maximum size
|
|
3846
|
-
* @param {ScalePool} payload
|
|
4252
|
+
* @param {ScalePool} payload
|
|
3847
4253
|
* @param {*} [options] Override http request option.
|
|
3848
4254
|
* @throws {RequiredError}
|
|
3849
4255
|
*/
|
|
@@ -3854,7 +4260,7 @@ export const PoolApiFp = function(configuration?: Configuration) {
|
|
|
3854
4260
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3855
4261
|
},
|
|
3856
4262
|
/**
|
|
3857
|
-
*
|
|
4263
|
+
*
|
|
3858
4264
|
* @summary Gracefully shutdown the browser pool server
|
|
3859
4265
|
* @param {*} [options] Override http request option.
|
|
3860
4266
|
* @throws {RequiredError}
|
|
@@ -3875,9 +4281,9 @@ export const PoolApiFactory = function (configuration?: Configuration, basePath?
|
|
|
3875
4281
|
const localVarFp = PoolApiFp(configuration)
|
|
3876
4282
|
return {
|
|
3877
4283
|
/**
|
|
3878
|
-
*
|
|
4284
|
+
*
|
|
3879
4285
|
* @summary Scale the browser pool to a new maximum size
|
|
3880
|
-
* @param {ScalePool} payload
|
|
4286
|
+
* @param {ScalePool} payload
|
|
3881
4287
|
* @param {*} [options] Override http request option.
|
|
3882
4288
|
* @throws {RequiredError}
|
|
3883
4289
|
*/
|
|
@@ -3885,7 +4291,7 @@ export const PoolApiFactory = function (configuration?: Configuration, basePath?
|
|
|
3885
4291
|
return localVarFp.scalePool(payload, options).then((request) => request(axios, basePath));
|
|
3886
4292
|
},
|
|
3887
4293
|
/**
|
|
3888
|
-
*
|
|
4294
|
+
*
|
|
3889
4295
|
* @summary Gracefully shutdown the browser pool server
|
|
3890
4296
|
* @param {*} [options] Override http request option.
|
|
3891
4297
|
* @throws {RequiredError}
|
|
@@ -3901,9 +4307,9 @@ export const PoolApiFactory = function (configuration?: Configuration, basePath?
|
|
|
3901
4307
|
*/
|
|
3902
4308
|
export class PoolApi extends BaseAPI {
|
|
3903
4309
|
/**
|
|
3904
|
-
*
|
|
4310
|
+
*
|
|
3905
4311
|
* @summary Scale the browser pool to a new maximum size
|
|
3906
|
-
* @param {ScalePool} payload
|
|
4312
|
+
* @param {ScalePool} payload
|
|
3907
4313
|
* @param {*} [options] Override http request option.
|
|
3908
4314
|
* @throws {RequiredError}
|
|
3909
4315
|
*/
|
|
@@ -3912,7 +4318,7 @@ export class PoolApi extends BaseAPI {
|
|
|
3912
4318
|
}
|
|
3913
4319
|
|
|
3914
4320
|
/**
|
|
3915
|
-
*
|
|
4321
|
+
*
|
|
3916
4322
|
* @summary Gracefully shutdown the browser pool server
|
|
3917
4323
|
* @param {*} [options] Override http request option.
|
|
3918
4324
|
* @throws {RequiredError}
|
|
@@ -3930,9 +4336,9 @@ export class PoolApi extends BaseAPI {
|
|
|
3930
4336
|
export const ProfilesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3931
4337
|
return {
|
|
3932
4338
|
/**
|
|
3933
|
-
*
|
|
4339
|
+
*
|
|
3934
4340
|
* @summary Create a new browser profile
|
|
3935
|
-
* @param {CreateProfileRequest} payload
|
|
4341
|
+
* @param {CreateProfileRequest} payload
|
|
3936
4342
|
* @param {*} [options] Override http request option.
|
|
3937
4343
|
* @throws {RequiredError}
|
|
3938
4344
|
*/
|
|
@@ -3965,7 +4371,7 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3965
4371
|
};
|
|
3966
4372
|
},
|
|
3967
4373
|
/**
|
|
3968
|
-
*
|
|
4374
|
+
*
|
|
3969
4375
|
* @summary Delete a browser profile
|
|
3970
4376
|
* @param {string} profileName Profile name
|
|
3971
4377
|
* @param {*} [options] Override http request option.
|
|
@@ -3998,7 +4404,7 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3998
4404
|
};
|
|
3999
4405
|
},
|
|
4000
4406
|
/**
|
|
4001
|
-
*
|
|
4407
|
+
*
|
|
4002
4408
|
* @summary Get profile information
|
|
4003
4409
|
* @param {string} profileName Profile name
|
|
4004
4410
|
* @param {*} [options] Override http request option.
|
|
@@ -4032,7 +4438,7 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4032
4438
|
};
|
|
4033
4439
|
},
|
|
4034
4440
|
/**
|
|
4035
|
-
*
|
|
4441
|
+
*
|
|
4036
4442
|
* @summary List all browser profiles
|
|
4037
4443
|
* @param {*} [options] Override http request option.
|
|
4038
4444
|
* @throws {RequiredError}
|
|
@@ -4071,9 +4477,9 @@ export const ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
4071
4477
|
const localVarAxiosParamCreator = ProfilesApiAxiosParamCreator(configuration)
|
|
4072
4478
|
return {
|
|
4073
4479
|
/**
|
|
4074
|
-
*
|
|
4480
|
+
*
|
|
4075
4481
|
* @summary Create a new browser profile
|
|
4076
|
-
* @param {CreateProfileRequest} payload
|
|
4482
|
+
* @param {CreateProfileRequest} payload
|
|
4077
4483
|
* @param {*} [options] Override http request option.
|
|
4078
4484
|
* @throws {RequiredError}
|
|
4079
4485
|
*/
|
|
@@ -4084,7 +4490,7 @@ export const ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
4084
4490
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4085
4491
|
},
|
|
4086
4492
|
/**
|
|
4087
|
-
*
|
|
4493
|
+
*
|
|
4088
4494
|
* @summary Delete a browser profile
|
|
4089
4495
|
* @param {string} profileName Profile name
|
|
4090
4496
|
* @param {*} [options] Override http request option.
|
|
@@ -4097,7 +4503,7 @@ export const ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
4097
4503
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4098
4504
|
},
|
|
4099
4505
|
/**
|
|
4100
|
-
*
|
|
4506
|
+
*
|
|
4101
4507
|
* @summary Get profile information
|
|
4102
4508
|
* @param {string} profileName Profile name
|
|
4103
4509
|
* @param {*} [options] Override http request option.
|
|
@@ -4110,7 +4516,7 @@ export const ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
4110
4516
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4111
4517
|
},
|
|
4112
4518
|
/**
|
|
4113
|
-
*
|
|
4519
|
+
*
|
|
4114
4520
|
* @summary List all browser profiles
|
|
4115
4521
|
* @param {*} [options] Override http request option.
|
|
4116
4522
|
* @throws {RequiredError}
|
|
@@ -4131,9 +4537,9 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
|
|
|
4131
4537
|
const localVarFp = ProfilesApiFp(configuration)
|
|
4132
4538
|
return {
|
|
4133
4539
|
/**
|
|
4134
|
-
*
|
|
4540
|
+
*
|
|
4135
4541
|
* @summary Create a new browser profile
|
|
4136
|
-
* @param {CreateProfileRequest} payload
|
|
4542
|
+
* @param {CreateProfileRequest} payload
|
|
4137
4543
|
* @param {*} [options] Override http request option.
|
|
4138
4544
|
* @throws {RequiredError}
|
|
4139
4545
|
*/
|
|
@@ -4141,7 +4547,7 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
|
|
|
4141
4547
|
return localVarFp.createProfile(payload, options).then((request) => request(axios, basePath));
|
|
4142
4548
|
},
|
|
4143
4549
|
/**
|
|
4144
|
-
*
|
|
4550
|
+
*
|
|
4145
4551
|
* @summary Delete a browser profile
|
|
4146
4552
|
* @param {string} profileName Profile name
|
|
4147
4553
|
* @param {*} [options] Override http request option.
|
|
@@ -4151,7 +4557,7 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
|
|
|
4151
4557
|
return localVarFp.deleteProfile(profileName, options).then((request) => request(axios, basePath));
|
|
4152
4558
|
},
|
|
4153
4559
|
/**
|
|
4154
|
-
*
|
|
4560
|
+
*
|
|
4155
4561
|
* @summary Get profile information
|
|
4156
4562
|
* @param {string} profileName Profile name
|
|
4157
4563
|
* @param {*} [options] Override http request option.
|
|
@@ -4161,7 +4567,7 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
|
|
|
4161
4567
|
return localVarFp.getProfile(profileName, options).then((request) => request(axios, basePath));
|
|
4162
4568
|
},
|
|
4163
4569
|
/**
|
|
4164
|
-
*
|
|
4570
|
+
*
|
|
4165
4571
|
* @summary List all browser profiles
|
|
4166
4572
|
* @param {*} [options] Override http request option.
|
|
4167
4573
|
* @throws {RequiredError}
|
|
@@ -4177,9 +4583,9 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
|
|
|
4177
4583
|
*/
|
|
4178
4584
|
export class ProfilesApi extends BaseAPI {
|
|
4179
4585
|
/**
|
|
4180
|
-
*
|
|
4586
|
+
*
|
|
4181
4587
|
* @summary Create a new browser profile
|
|
4182
|
-
* @param {CreateProfileRequest} payload
|
|
4588
|
+
* @param {CreateProfileRequest} payload
|
|
4183
4589
|
* @param {*} [options] Override http request option.
|
|
4184
4590
|
* @throws {RequiredError}
|
|
4185
4591
|
*/
|
|
@@ -4188,7 +4594,7 @@ export class ProfilesApi extends BaseAPI {
|
|
|
4188
4594
|
}
|
|
4189
4595
|
|
|
4190
4596
|
/**
|
|
4191
|
-
*
|
|
4597
|
+
*
|
|
4192
4598
|
* @summary Delete a browser profile
|
|
4193
4599
|
* @param {string} profileName Profile name
|
|
4194
4600
|
* @param {*} [options] Override http request option.
|
|
@@ -4199,7 +4605,7 @@ export class ProfilesApi extends BaseAPI {
|
|
|
4199
4605
|
}
|
|
4200
4606
|
|
|
4201
4607
|
/**
|
|
4202
|
-
*
|
|
4608
|
+
*
|
|
4203
4609
|
* @summary Get profile information
|
|
4204
4610
|
* @param {string} profileName Profile name
|
|
4205
4611
|
* @param {*} [options] Override http request option.
|
|
@@ -4210,7 +4616,7 @@ export class ProfilesApi extends BaseAPI {
|
|
|
4210
4616
|
}
|
|
4211
4617
|
|
|
4212
4618
|
/**
|
|
4213
|
-
*
|
|
4619
|
+
*
|
|
4214
4620
|
* @summary List all browser profiles
|
|
4215
4621
|
* @param {*} [options] Override http request option.
|
|
4216
4622
|
* @throws {RequiredError}
|
|
@@ -4219,6 +4625,3 @@ export class ProfilesApi extends BaseAPI {
|
|
|
4219
4625
|
return ProfilesApiFp(this.configuration).listProfiles(options).then((request) => request(this.axios, this.basePath));
|
|
4220
4626
|
}
|
|
4221
4627
|
}
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|