airbrowser-client 1.2.3 → 1.3.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.
Files changed (65) hide show
  1. package/.openapi-generator/FILES +14 -31
  2. package/README.md +46 -65
  3. package/api.ts +807 -1256
  4. package/dist/api.d.ts +666 -1064
  5. package/dist/api.js +546 -636
  6. package/dist/esm/api.d.ts +666 -1064
  7. package/dist/esm/api.js +545 -635
  8. package/docs/BrowserApi.md +288 -340
  9. package/docs/{UrlData.md → BrowsersRequest.md} +5 -5
  10. package/docs/ClickRequest.md +5 -5
  11. package/docs/ConsoleLogsRequest.md +2 -2
  12. package/docs/CreateBrowserRequest.md +38 -0
  13. package/docs/DetectCoordinatesRequest.md +5 -1
  14. package/docs/{FormField.md → DialogRequest.md} +7 -7
  15. package/docs/EmulateRequest.md +32 -0
  16. package/docs/{ExecuteData.md → ExecuteScriptRequest.md} +5 -5
  17. package/docs/FillFormRequest.md +2 -2
  18. package/docs/GenericResponse.md +24 -0
  19. package/docs/GuiClickRequest.md +30 -0
  20. package/docs/GuiHoverXyRequest.md +24 -0
  21. package/docs/GuiPressKeysXyRequest.md +26 -0
  22. package/docs/GuiTypeXyRequest.md +26 -0
  23. package/docs/HistoryRequest.md +1 -1
  24. package/docs/MouseRequest.md +5 -5
  25. package/docs/{NavigateRequest.md → NavigateBrowserRequest.md} +5 -5
  26. package/docs/NetworkLogsRequest.md +2 -2
  27. package/docs/PerformanceRequest.md +2 -2
  28. package/docs/PressKeysRequest.md +4 -4
  29. package/docs/ResizeRequest.md +2 -2
  30. package/docs/ScrollRequest.md +32 -0
  31. package/docs/SelectRequest.md +7 -7
  32. package/docs/SnapshotRequest.md +2 -2
  33. package/docs/TabsRequest.md +4 -4
  34. package/docs/TakeScreenshotRequest.md +20 -0
  35. package/docs/TypeTextRequest.md +26 -0
  36. package/docs/UploadFileRequest.md +3 -3
  37. package/docs/WaitElementRequest.md +5 -5
  38. package/package.json +1 -1
  39. package/docs/ActionResult.md +0 -26
  40. package/docs/AttributeResponse.md +0 -26
  41. package/docs/BrowserConfig.md +0 -36
  42. package/docs/BrowserCreated.md +0 -26
  43. package/docs/BrowserCreationData.md +0 -22
  44. package/docs/BrowserInfoResponse.md +0 -26
  45. package/docs/BrowserList.md +0 -26
  46. package/docs/BrowserListData.md +0 -22
  47. package/docs/CheckElementRequest.md +0 -24
  48. package/docs/CombinedDialogRequest.md +0 -22
  49. package/docs/CombinedEmulateRequest.md +0 -32
  50. package/docs/CombinedGuiClickRequest.md +0 -30
  51. package/docs/CombinedScrollRequest.md +0 -32
  52. package/docs/ContentData.md +0 -24
  53. package/docs/ContentResponse.md +0 -26
  54. package/docs/DetectCoordinatesResult.md +0 -44
  55. package/docs/ElementDataRequest.md +0 -26
  56. package/docs/ExecuteRequest.md +0 -22
  57. package/docs/ExecuteResponse.md +0 -26
  58. package/docs/LogsResponse.md +0 -26
  59. package/docs/PoolStatusResponse.md +0 -26
  60. package/docs/ScreenshotData.md +0 -22
  61. package/docs/ScreenshotResponse.md +0 -26
  62. package/docs/SuccessResponse.md +0 -26
  63. package/docs/TypeRequest.md +0 -26
  64. package/docs/UrlResponse.md +0 -26
  65. package/docs/WhatIsVisibleResult.md +0 -34
package/dist/esm/api.js CHANGED
@@ -26,59 +26,6 @@ import globalAxios from 'axios';
26
26
  import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from './base';
29
- export const CheckElementRequestCheckEnum = {
30
- Exists: 'exists',
31
- Visible: 'visible'
32
- };
33
- export const CombinedDialogRequestActionEnum = {
34
- Get: 'get',
35
- Accept: 'accept',
36
- Dismiss: 'dismiss'
37
- };
38
- export const CombinedEmulateRequestActionEnum = {
39
- Set: 'set',
40
- Clear: 'clear',
41
- ListDevices: 'list_devices'
42
- };
43
- export const ConsoleLogsRequestActionEnum = {
44
- Get: 'get',
45
- Clear: 'clear'
46
- };
47
- export const ElementDataRequestTypeEnum = {
48
- Text: 'text',
49
- Attribute: 'attribute',
50
- Property: 'property'
51
- };
52
- export const HistoryRequestActionEnum = {
53
- Back: 'back',
54
- Forward: 'forward',
55
- Refresh: 'refresh'
56
- };
57
- export const NetworkLogsRequestActionEnum = {
58
- Get: 'get',
59
- Clear: 'clear'
60
- };
61
- export const PerformanceRequestActionEnum = {
62
- StartTrace: 'start_trace',
63
- StopTrace: 'stop_trace',
64
- Metrics: 'metrics',
65
- Analyze: 'analyze'
66
- };
67
- export const SelectRequestActionEnum = {
68
- Select: 'select',
69
- Options: 'options'
70
- };
71
- export const TabsRequestActionEnum = {
72
- List: 'list',
73
- New: 'new',
74
- Switch: 'switch',
75
- Close: 'close',
76
- Current: 'current'
77
- };
78
- export const WaitElementRequestUntilEnum = {
79
- Visible: 'visible',
80
- Hidden: 'hidden'
81
- };
82
29
  /**
83
30
  * BrowserApi - axios parameter creator
84
31
  */
@@ -86,19 +33,15 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
86
33
  return {
87
34
  /**
88
35
  *
89
- * @summary Check if element exists or is visible
90
- * @param {string} browserId Unique browser identifier
91
- * @param {CheckElementRequest} payload
36
+ * @summary Admin: list all, get info, or close all browsers
37
+ * @param {BrowsersRequest} payload
92
38
  * @param {*} [options] Override http request option.
93
39
  * @throws {RequiredError}
94
40
  */
95
- checkElement: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
96
- // verify required parameter 'browserId' is not null or undefined
97
- assertParamExists('checkElement', 'browserId', browserId);
41
+ browsers: (payload_1, ...args_1) => __awaiter(this, [payload_1, ...args_1], void 0, function* (payload, options = {}) {
98
42
  // verify required parameter 'payload' is not null or undefined
99
- assertParamExists('checkElement', 'payload', payload);
100
- const localVarPath = `/browser/{browser_id}/check_element`
101
- .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
43
+ assertParamExists('browsers', 'payload', payload);
44
+ const localVarPath = `/browser/browsers`;
102
45
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
103
46
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104
47
  let baseOptions;
@@ -120,19 +63,23 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
120
63
  };
121
64
  }),
122
65
  /**
123
- * Use if_visible=true to only click if visible.
124
- * @summary Click element
125
- * @param {string} browserId Unique browser identifier
126
- * @param {ClickRequest} payload
66
+ *
67
+ * @summary Check if element exists or is visible
68
+ * @param {string} browserId
69
+ * @param {string} selector selector
70
+ * @param {string} check check
71
+ * @param {string} [by] by
127
72
  * @param {*} [options] Override http request option.
128
73
  * @throws {RequiredError}
129
74
  */
130
- click: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
75
+ checkElement: (browserId_1, selector_1, check_1, by_1, ...args_1) => __awaiter(this, [browserId_1, selector_1, check_1, by_1, ...args_1], void 0, function* (browserId, selector, check, by, options = {}) {
131
76
  // verify required parameter 'browserId' is not null or undefined
132
- assertParamExists('click', 'browserId', browserId);
133
- // verify required parameter 'payload' is not null or undefined
134
- assertParamExists('click', 'payload', payload);
135
- const localVarPath = `/browser/{browser_id}/click`
77
+ assertParamExists('checkElement', 'browserId', browserId);
78
+ // verify required parameter 'selector' is not null or undefined
79
+ assertParamExists('checkElement', 'selector', selector);
80
+ // verify required parameter 'check' is not null or undefined
81
+ assertParamExists('checkElement', 'check', check);
82
+ const localVarPath = `/browser/{browser_id}/check_element`
136
83
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
137
84
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
138
85
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -140,28 +87,42 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
140
87
  if (configuration) {
141
88
  baseOptions = configuration.baseOptions;
142
89
  }
143
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
90
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
144
91
  const localVarHeaderParameter = {};
145
92
  const localVarQueryParameter = {};
146
- localVarHeaderParameter['Content-Type'] = 'application/json';
93
+ if (selector !== undefined) {
94
+ localVarQueryParameter['selector'] = selector;
95
+ }
96
+ if (check !== undefined) {
97
+ localVarQueryParameter['check'] = check;
98
+ }
99
+ if (by !== undefined) {
100
+ localVarQueryParameter['by'] = by;
101
+ }
147
102
  localVarHeaderParameter['Accept'] = 'application/json';
148
103
  setSearchParams(localVarUrlObj, localVarQueryParameter);
149
104
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
150
105
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
151
- localVarRequestOptions.data = serializeDataIfNeeded(payload, localVarRequestOptions, configuration);
152
106
  return {
153
107
  url: toPathString(localVarUrlObj),
154
108
  options: localVarRequestOptions,
155
109
  };
156
110
  }),
157
111
  /**
158
- *
159
- * @summary Close all active browser instances
112
+ * Use if_visible=True to only click if visible.
113
+ * @summary Click element
114
+ * @param {string} browserId
115
+ * @param {ClickRequest} payload
160
116
  * @param {*} [options] Override http request option.
161
117
  * @throws {RequiredError}
162
118
  */
163
- closeAllBrowsers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
164
- const localVarPath = `/browser/close_all`;
119
+ click: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
120
+ // verify required parameter 'browserId' is not null or undefined
121
+ assertParamExists('click', 'browserId', browserId);
122
+ // verify required parameter 'payload' is not null or undefined
123
+ assertParamExists('click', 'payload', payload);
124
+ const localVarPath = `/browser/{browser_id}/click`
125
+ .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
165
126
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
166
127
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
167
128
  let baseOptions;
@@ -171,10 +132,12 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
171
132
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
172
133
  const localVarHeaderParameter = {};
173
134
  const localVarQueryParameter = {};
135
+ localVarHeaderParameter['Content-Type'] = 'application/json';
174
136
  localVarHeaderParameter['Accept'] = 'application/json';
175
137
  setSearchParams(localVarUrlObj, localVarQueryParameter);
176
138
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
177
139
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
140
+ localVarRequestOptions.data = serializeDataIfNeeded(payload, localVarRequestOptions, configuration);
178
141
  return {
179
142
  url: toPathString(localVarUrlObj),
180
143
  options: localVarRequestOptions,
@@ -182,15 +145,15 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
182
145
  }),
183
146
  /**
184
147
  *
185
- * @summary Close a browser instance
186
- * @param {string} browserId Unique browser identifier
148
+ * @summary Close browser instance
149
+ * @param {string} browserId
187
150
  * @param {*} [options] Override http request option.
188
151
  * @throws {RequiredError}
189
152
  */
190
153
  closeBrowser: (browserId_1, ...args_1) => __awaiter(this, [browserId_1, ...args_1], void 0, function* (browserId, options = {}) {
191
154
  // verify required parameter 'browserId' is not null or undefined
192
155
  assertParamExists('closeBrowser', 'browserId', browserId);
193
- const localVarPath = `/browser/{browser_id}/close`
156
+ const localVarPath = `/browser/{browser_id}/close_browser`
194
157
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
195
158
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
196
159
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -198,7 +161,7 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
198
161
  if (configuration) {
199
162
  baseOptions = configuration.baseOptions;
200
163
  }
201
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
164
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
202
165
  const localVarHeaderParameter = {};
203
166
  const localVarQueryParameter = {};
204
167
  localVarHeaderParameter['Accept'] = 'application/json';
@@ -212,8 +175,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
212
175
  }),
213
176
  /**
214
177
  *
215
- * @summary Get or clear console logs
216
- * @param {string} browserId Unique browser identifier
178
+ * @summary Console logs: get or clear
179
+ * @param {string} browserId
217
180
  * @param {ConsoleLogsRequest} payload
218
181
  * @param {*} [options] Override http request option.
219
182
  * @throws {RequiredError}
@@ -223,7 +186,7 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
223
186
  assertParamExists('consoleLogs', 'browserId', browserId);
224
187
  // verify required parameter 'payload' is not null or undefined
225
188
  assertParamExists('consoleLogs', 'payload', payload);
226
- const localVarPath = `/browser/{browser_id}/console`
189
+ const localVarPath = `/browser/{browser_id}/console_logs`
227
190
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
228
191
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
229
192
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -247,15 +210,15 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
247
210
  }),
248
211
  /**
249
212
  *
250
- * @summary Create a new browser instance
251
- * @param {BrowserConfig} payload
213
+ * @summary Create browser instance with optional persistent profile
214
+ * @param {CreateBrowserRequest} payload
252
215
  * @param {*} [options] Override http request option.
253
216
  * @throws {RequiredError}
254
217
  */
255
218
  createBrowser: (payload_1, ...args_1) => __awaiter(this, [payload_1, ...args_1], void 0, function* (payload, options = {}) {
256
219
  // verify required parameter 'payload' is not null or undefined
257
220
  assertParamExists('createBrowser', 'payload', payload);
258
- const localVarPath = `/browser/create`;
221
+ const localVarPath = `/browser/create_browser`;
259
222
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
260
223
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
261
224
  let baseOptions;
@@ -277,39 +240,9 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
277
240
  };
278
241
  }),
279
242
  /**
280
- *
281
- * @summary Close and remove a browser instance
282
- * @param {string} browserId Unique browser identifier
283
- * @param {*} [options] Override http request option.
284
- * @throws {RequiredError}
285
- */
286
- deleteBrowser: (browserId_1, ...args_1) => __awaiter(this, [browserId_1, ...args_1], void 0, function* (browserId, options = {}) {
287
- // verify required parameter 'browserId' is not null or undefined
288
- assertParamExists('deleteBrowser', 'browserId', browserId);
289
- const localVarPath = `/browser/{browser_id}`
290
- .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
291
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
292
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
293
- let baseOptions;
294
- if (configuration) {
295
- baseOptions = configuration.baseOptions;
296
- }
297
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
298
- const localVarHeaderParameter = {};
299
- const localVarQueryParameter = {};
300
- localVarHeaderParameter['Accept'] = 'application/json';
301
- setSearchParams(localVarUrlObj, localVarQueryParameter);
302
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
303
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
304
- return {
305
- url: toPathString(localVarUrlObj),
306
- options: localVarRequestOptions,
307
- };
308
- }),
309
- /**
310
- *
311
- * @summary Detect element coordinates using AI vision
312
- * @param {string} browserId Unique browser identifier
243
+ * 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).
244
+ * @summary Detect element coordinates using vision
245
+ * @param {string} browserId
313
246
  * @param {DetectCoordinatesRequest} payload
314
247
  * @param {*} [options] Override http request option.
315
248
  * @throws {RequiredError}
@@ -343,9 +276,9 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
343
276
  }),
344
277
  /**
345
278
  *
346
- * @summary Manage browser dialogs: get, accept, or dismiss
347
- * @param {string} browserId Unique browser identifier
348
- * @param {CombinedDialogRequest} payload
279
+ * @summary Dialogs: get, accept, dismiss
280
+ * @param {string} browserId
281
+ * @param {DialogRequest} payload
349
282
  * @param {*} [options] Override http request option.
350
283
  * @throws {RequiredError}
351
284
  */
@@ -378,9 +311,9 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
378
311
  }),
379
312
  /**
380
313
  *
381
- * @summary Manage device emulation: set, clear, or list_devices
382
- * @param {string} browserId Unique browser identifier
383
- * @param {CombinedEmulateRequest} payload
314
+ * @summary Emulation: set, clear, list_devices
315
+ * @param {string} browserId
316
+ * @param {EmulateRequest} payload
384
317
  * @param {*} [options] Override http request option.
385
318
  * @throws {RequiredError}
386
319
  */
@@ -414,8 +347,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
414
347
  /**
415
348
  *
416
349
  * @summary Execute JavaScript
417
- * @param {string} browserId Unique browser identifier
418
- * @param {ExecuteRequest} payload
350
+ * @param {string} browserId
351
+ * @param {ExecuteScriptRequest} payload
419
352
  * @param {*} [options] Override http request option.
420
353
  * @throws {RequiredError}
421
354
  */
@@ -424,7 +357,7 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
424
357
  assertParamExists('executeScript', 'browserId', browserId);
425
358
  // verify required parameter 'payload' is not null or undefined
426
359
  assertParamExists('executeScript', 'payload', payload);
427
- const localVarPath = `/browser/{browser_id}/execute`
360
+ const localVarPath = `/browser/{browser_id}/execute_script`
428
361
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
429
362
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
430
363
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -449,7 +382,7 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
449
382
  /**
450
383
  *
451
384
  * @summary Fill multiple form fields
452
- * @param {string} browserId Unique browser identifier
385
+ * @param {string} browserId
453
386
  * @param {FillFormRequest} payload
454
387
  * @param {*} [options] Override http request option.
455
388
  * @throws {RequiredError}
@@ -483,15 +416,15 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
483
416
  }),
484
417
  /**
485
418
  *
486
- * @summary Get browser instance details
487
- * @param {string} browserId Unique browser identifier
419
+ * @summary Get page HTML
420
+ * @param {string} browserId
488
421
  * @param {*} [options] Override http request option.
489
422
  * @throws {RequiredError}
490
423
  */
491
- getBrowser: (browserId_1, ...args_1) => __awaiter(this, [browserId_1, ...args_1], void 0, function* (browserId, options = {}) {
424
+ getContent: (browserId_1, ...args_1) => __awaiter(this, [browserId_1, ...args_1], void 0, function* (browserId, options = {}) {
492
425
  // verify required parameter 'browserId' is not null or undefined
493
- assertParamExists('getBrowser', 'browserId', browserId);
494
- const localVarPath = `/browser/{browser_id}`
426
+ assertParamExists('getContent', 'browserId', browserId);
427
+ const localVarPath = `/browser/{browser_id}/get_content`
495
428
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
496
429
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
497
430
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -513,15 +446,23 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
513
446
  }),
514
447
  /**
515
448
  *
516
- * @summary Get browser status
517
- * @param {string} browserId Unique browser identifier
449
+ * @summary Get element text, attribute, or property
450
+ * @param {string} browserId
451
+ * @param {string} selector selector
452
+ * @param {string} dataType data_type
453
+ * @param {string} [name] name
454
+ * @param {string} [by] by
518
455
  * @param {*} [options] Override http request option.
519
456
  * @throws {RequiredError}
520
457
  */
521
- getBrowserStatus: (browserId_1, ...args_1) => __awaiter(this, [browserId_1, ...args_1], void 0, function* (browserId, options = {}) {
458
+ getElementData: (browserId_1, selector_1, dataType_1, name_1, by_1, ...args_1) => __awaiter(this, [browserId_1, selector_1, dataType_1, name_1, by_1, ...args_1], void 0, function* (browserId, selector, dataType, name, by, options = {}) {
522
459
  // verify required parameter 'browserId' is not null or undefined
523
- assertParamExists('getBrowserStatus', 'browserId', browserId);
524
- const localVarPath = `/browser/{browser_id}/status`
460
+ assertParamExists('getElementData', 'browserId', browserId);
461
+ // verify required parameter 'selector' is not null or undefined
462
+ assertParamExists('getElementData', 'selector', selector);
463
+ // verify required parameter 'dataType' is not null or undefined
464
+ assertParamExists('getElementData', 'dataType', dataType);
465
+ const localVarPath = `/browser/{browser_id}/get_element_data`
525
466
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
526
467
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
527
468
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -532,6 +473,18 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
532
473
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
533
474
  const localVarHeaderParameter = {};
534
475
  const localVarQueryParameter = {};
476
+ if (selector !== undefined) {
477
+ localVarQueryParameter['selector'] = selector;
478
+ }
479
+ if (dataType !== undefined) {
480
+ localVarQueryParameter['data_type'] = dataType;
481
+ }
482
+ if (name !== undefined) {
483
+ localVarQueryParameter['name'] = name;
484
+ }
485
+ if (by !== undefined) {
486
+ localVarQueryParameter['by'] = by;
487
+ }
535
488
  localVarHeaderParameter['Accept'] = 'application/json';
536
489
  setSearchParams(localVarUrlObj, localVarQueryParameter);
537
490
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -543,15 +496,15 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
543
496
  }),
544
497
  /**
545
498
  *
546
- * @summary Get page HTML content
547
- * @param {string} browserId Unique browser identifier
499
+ * @summary Get current URL
500
+ * @param {string} browserId
548
501
  * @param {*} [options] Override http request option.
549
502
  * @throws {RequiredError}
550
503
  */
551
- getContent: (browserId_1, ...args_1) => __awaiter(this, [browserId_1, ...args_1], void 0, function* (browserId, options = {}) {
504
+ getUrl: (browserId_1, ...args_1) => __awaiter(this, [browserId_1, ...args_1], void 0, function* (browserId, options = {}) {
552
505
  // verify required parameter 'browserId' is not null or undefined
553
- assertParamExists('getContent', 'browserId', browserId);
554
- const localVarPath = `/browser/{browser_id}/content`
506
+ assertParamExists('getUrl', 'browserId', browserId);
507
+ const localVarPath = `/browser/{browser_id}/get_url`
555
508
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
556
509
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
557
510
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -573,18 +526,18 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
573
526
  }),
574
527
  /**
575
528
  *
576
- * @summary Get element text, attribute, or property
577
- * @param {string} browserId Unique browser identifier
578
- * @param {ElementDataRequest} payload
529
+ * @summary GUI click by selector or coordinates
530
+ * @param {string} browserId
531
+ * @param {GuiClickRequest} payload
579
532
  * @param {*} [options] Override http request option.
580
533
  * @throws {RequiredError}
581
534
  */
582
- getElementData: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
535
+ guiClick: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
583
536
  // verify required parameter 'browserId' is not null or undefined
584
- assertParamExists('getElementData', 'browserId', browserId);
537
+ assertParamExists('guiClick', 'browserId', browserId);
585
538
  // verify required parameter 'payload' is not null or undefined
586
- assertParamExists('getElementData', 'payload', payload);
587
- const localVarPath = `/browser/{browser_id}/element_data`
539
+ assertParamExists('guiClick', 'payload', payload);
540
+ const localVarPath = `/browser/{browser_id}/gui_click`
588
541
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
589
542
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
590
543
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -608,25 +561,34 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
608
561
  }),
609
562
  /**
610
563
  *
611
- * @summary Get browser pool status
564
+ * @summary GUI hover at coordinates
565
+ * @param {string} browserId
566
+ * @param {GuiHoverXyRequest} payload
612
567
  * @param {*} [options] Override http request option.
613
568
  * @throws {RequiredError}
614
569
  */
615
- getPoolStatus: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
616
- const localVarPath = `/browser/pool/status`;
570
+ guiHoverXy: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
571
+ // verify required parameter 'browserId' is not null or undefined
572
+ assertParamExists('guiHoverXy', 'browserId', browserId);
573
+ // verify required parameter 'payload' is not null or undefined
574
+ assertParamExists('guiHoverXy', 'payload', payload);
575
+ const localVarPath = `/browser/{browser_id}/gui_hover_xy`
576
+ .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
617
577
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
618
578
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
619
579
  let baseOptions;
620
580
  if (configuration) {
621
581
  baseOptions = configuration.baseOptions;
622
582
  }
623
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
583
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
624
584
  const localVarHeaderParameter = {};
625
585
  const localVarQueryParameter = {};
586
+ localVarHeaderParameter['Content-Type'] = 'application/json';
626
587
  localVarHeaderParameter['Accept'] = 'application/json';
627
588
  setSearchParams(localVarUrlObj, localVarQueryParameter);
628
589
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
629
590
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
591
+ localVarRequestOptions.data = serializeDataIfNeeded(payload, localVarRequestOptions, configuration);
630
592
  return {
631
593
  url: toPathString(localVarUrlObj),
632
594
  options: localVarRequestOptions,
@@ -634,15 +596,18 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
634
596
  }),
635
597
  /**
636
598
  *
637
- * @summary Get current page URL
638
- * @param {string} browserId Unique browser identifier
599
+ * @summary Press keys at coordinates (click to focus, then send keys)
600
+ * @param {string} browserId
601
+ * @param {GuiPressKeysXyRequest} payload
639
602
  * @param {*} [options] Override http request option.
640
603
  * @throws {RequiredError}
641
604
  */
642
- getUrl: (browserId_1, ...args_1) => __awaiter(this, [browserId_1, ...args_1], void 0, function* (browserId, options = {}) {
605
+ guiPressKeysXy: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
643
606
  // verify required parameter 'browserId' is not null or undefined
644
- assertParamExists('getUrl', 'browserId', browserId);
645
- const localVarPath = `/browser/{browser_id}/url`
607
+ assertParamExists('guiPressKeysXy', 'browserId', browserId);
608
+ // verify required parameter 'payload' is not null or undefined
609
+ assertParamExists('guiPressKeysXy', 'payload', payload);
610
+ const localVarPath = `/browser/{browser_id}/gui_press_keys_xy`
646
611
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
647
612
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
648
613
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -650,13 +615,15 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
650
615
  if (configuration) {
651
616
  baseOptions = configuration.baseOptions;
652
617
  }
653
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
618
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
654
619
  const localVarHeaderParameter = {};
655
620
  const localVarQueryParameter = {};
621
+ localVarHeaderParameter['Content-Type'] = 'application/json';
656
622
  localVarHeaderParameter['Accept'] = 'application/json';
657
623
  setSearchParams(localVarUrlObj, localVarQueryParameter);
658
624
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
659
625
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
626
+ localVarRequestOptions.data = serializeDataIfNeeded(payload, localVarRequestOptions, configuration);
660
627
  return {
661
628
  url: toPathString(localVarUrlObj),
662
629
  options: localVarRequestOptions,
@@ -664,18 +631,18 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
664
631
  }),
665
632
  /**
666
633
  *
667
- * @summary Click using selector or screen coordinates
668
- * @param {string} browserId Unique browser identifier
669
- * @param {CombinedGuiClickRequest} payload
634
+ * @summary GUI type at coordinates - clicks then types text
635
+ * @param {string} browserId
636
+ * @param {GuiTypeXyRequest} payload
670
637
  * @param {*} [options] Override http request option.
671
638
  * @throws {RequiredError}
672
639
  */
673
- guiClick: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
640
+ guiTypeXy: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
674
641
  // verify required parameter 'browserId' is not null or undefined
675
- assertParamExists('guiClick', 'browserId', browserId);
642
+ assertParamExists('guiTypeXy', 'browserId', browserId);
676
643
  // verify required parameter 'payload' is not null or undefined
677
- assertParamExists('guiClick', 'payload', payload);
678
- const localVarPath = `/browser/{browser_id}/gui_click`
644
+ assertParamExists('guiTypeXy', 'payload', payload);
645
+ const localVarPath = `/browser/{browser_id}/gui_type_xy`
679
646
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
680
647
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
681
648
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -699,8 +666,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
699
666
  }),
700
667
  /**
701
668
  *
702
- * @summary Execute history action: back, forward, or refresh
703
- * @param {string} browserId Unique browser identifier
669
+ * @summary History: back, forward, or refresh
670
+ * @param {string} browserId
704
671
  * @param {HistoryRequest} payload
705
672
  * @param {*} [options] Override http request option.
706
673
  * @throws {RequiredError}
@@ -734,34 +701,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
734
701
  }),
735
702
  /**
736
703
  *
737
- * @summary List all active browser instances
738
- * @param {*} [options] Override http request option.
739
- * @throws {RequiredError}
740
- */
741
- listBrowsers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
742
- const localVarPath = `/browser/list`;
743
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
744
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
745
- let baseOptions;
746
- if (configuration) {
747
- baseOptions = configuration.baseOptions;
748
- }
749
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
750
- const localVarHeaderParameter = {};
751
- const localVarQueryParameter = {};
752
- localVarHeaderParameter['Accept'] = 'application/json';
753
- setSearchParams(localVarUrlObj, localVarQueryParameter);
754
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
755
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
756
- return {
757
- url: toPathString(localVarUrlObj),
758
- options: localVarRequestOptions,
759
- };
760
- }),
761
- /**
762
- *
763
- * @summary Mouse action: hover or drag
764
- * @param {string} browserId Unique browser identifier
704
+ * @summary Mouse: hover or drag
705
+ * @param {string} browserId
765
706
  * @param {MouseRequest} payload
766
707
  * @param {*} [options] Override http request option.
767
708
  * @throws {RequiredError}
@@ -795,9 +736,9 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
795
736
  }),
796
737
  /**
797
738
  *
798
- * @summary Navigate to a URL
799
- * @param {string} browserId Unique browser identifier
800
- * @param {NavigateRequest} payload
739
+ * @summary Navigate to URL
740
+ * @param {string} browserId
741
+ * @param {NavigateBrowserRequest} payload
801
742
  * @param {*} [options] Override http request option.
802
743
  * @throws {RequiredError}
803
744
  */
@@ -830,8 +771,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
830
771
  }),
831
772
  /**
832
773
  *
833
- * @summary Get or clear network logs
834
- * @param {string} browserId Unique browser identifier
774
+ * @summary Network logs: get or clear
775
+ * @param {string} browserId
835
776
  * @param {NetworkLogsRequest} payload
836
777
  * @param {*} [options] Override http request option.
837
778
  * @throws {RequiredError}
@@ -841,7 +782,7 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
841
782
  assertParamExists('networkLogs', 'browserId', browserId);
842
783
  // verify required parameter 'payload' is not null or undefined
843
784
  assertParamExists('networkLogs', 'payload', payload);
844
- const localVarPath = `/browser/{browser_id}/network`
785
+ const localVarPath = `/browser/{browser_id}/network_logs`
845
786
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
846
787
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
847
788
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -865,8 +806,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
865
806
  }),
866
807
  /**
867
808
  *
868
- * @summary Manage performance: start_trace, stop_trace, metrics, or analyze
869
- * @param {string} browserId Unique browser identifier
809
+ * @summary Performance: start_trace, stop_trace, metrics, analyze
810
+ * @param {string} browserId
870
811
  * @param {PerformanceRequest} payload
871
812
  * @param {*} [options] Override http request option.
872
813
  * @throws {RequiredError}
@@ -900,8 +841,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
900
841
  }),
901
842
  /**
902
843
  *
903
- * @summary Press keys on an element
904
- * @param {string} browserId Unique browser identifier
844
+ * @summary Press keyboard keys
845
+ * @param {string} browserId
905
846
  * @param {PressKeysRequest} payload
906
847
  * @param {*} [options] Override http request option.
907
848
  * @throws {RequiredError}
@@ -936,7 +877,7 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
936
877
  /**
937
878
  *
938
879
  * @summary Resize viewport
939
- * @param {string} browserId Unique browser identifier
880
+ * @param {string} browserId
940
881
  * @param {ResizeRequest} payload
941
882
  * @param {*} [options] Override http request option.
942
883
  * @throws {RequiredError}
@@ -970,9 +911,9 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
970
911
  }),
971
912
  /**
972
913
  *
973
- * @summary Scroll to element/coordinates (absolute) or by delta (relative)
974
- * @param {string} browserId Unique browser identifier
975
- * @param {CombinedScrollRequest} payload
914
+ * @summary Scroll to element/coords or by delta
915
+ * @param {string} browserId
916
+ * @param {ScrollRequest} payload
976
917
  * @param {*} [options] Override http request option.
977
918
  * @throws {RequiredError}
978
919
  */
@@ -1006,7 +947,7 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1006
947
  /**
1007
948
  *
1008
949
  * @summary Select dropdown: select option or get options
1009
- * @param {string} browserId Unique browser identifier
950
+ * @param {string} browserId
1010
951
  * @param {SelectRequest} payload
1011
952
  * @param {*} [options] Override http request option.
1012
953
  * @throws {RequiredError}
@@ -1040,18 +981,18 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1040
981
  }),
1041
982
  /**
1042
983
  *
1043
- * @summary Manage browser tabs: list, new, switch, close, or current
1044
- * @param {string} browserId Unique browser identifier
1045
- * @param {TabsRequest} payload
984
+ * @summary DOM or accessibility snapshot
985
+ * @param {string} browserId
986
+ * @param {SnapshotRequest} payload
1046
987
  * @param {*} [options] Override http request option.
1047
988
  * @throws {RequiredError}
1048
989
  */
1049
- tabs: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
990
+ snapshot: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
1050
991
  // verify required parameter 'browserId' is not null or undefined
1051
- assertParamExists('tabs', 'browserId', browserId);
992
+ assertParamExists('snapshot', 'browserId', browserId);
1052
993
  // verify required parameter 'payload' is not null or undefined
1053
- assertParamExists('tabs', 'payload', payload);
1054
- const localVarPath = `/browser/{browser_id}/tabs`
994
+ assertParamExists('snapshot', 'payload', payload);
995
+ const localVarPath = `/browser/{browser_id}/snapshot`
1055
996
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
1056
997
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1057
998
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1075,15 +1016,18 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1075
1016
  }),
1076
1017
  /**
1077
1018
  *
1078
- * @summary Take a screenshot
1079
- * @param {string} browserId Unique browser identifier
1019
+ * @summary Tabs: list, new, switch, close, current
1020
+ * @param {string} browserId
1021
+ * @param {TabsRequest} payload
1080
1022
  * @param {*} [options] Override http request option.
1081
1023
  * @throws {RequiredError}
1082
1024
  */
1083
- takeScreenshot: (browserId_1, ...args_1) => __awaiter(this, [browserId_1, ...args_1], void 0, function* (browserId, options = {}) {
1025
+ tabs: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
1084
1026
  // verify required parameter 'browserId' is not null or undefined
1085
- assertParamExists('takeScreenshot', 'browserId', browserId);
1086
- const localVarPath = `/browser/{browser_id}/screenshot`
1027
+ assertParamExists('tabs', 'browserId', browserId);
1028
+ // verify required parameter 'payload' is not null or undefined
1029
+ assertParamExists('tabs', 'payload', payload);
1030
+ const localVarPath = `/browser/{browser_id}/tabs`
1087
1031
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
1088
1032
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1089
1033
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1094,10 +1038,12 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1094
1038
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1095
1039
  const localVarHeaderParameter = {};
1096
1040
  const localVarQueryParameter = {};
1041
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1097
1042
  localVarHeaderParameter['Accept'] = 'application/json';
1098
1043
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1099
1044
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1100
1045
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1046
+ localVarRequestOptions.data = serializeDataIfNeeded(payload, localVarRequestOptions, configuration);
1101
1047
  return {
1102
1048
  url: toPathString(localVarUrlObj),
1103
1049
  options: localVarRequestOptions,
@@ -1105,18 +1051,18 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1105
1051
  }),
1106
1052
  /**
1107
1053
  *
1108
- * @summary Take DOM/accessibility snapshot
1109
- * @param {string} browserId Unique browser identifier
1110
- * @param {SnapshotRequest} payload
1054
+ * @summary Take screenshot
1055
+ * @param {string} browserId
1056
+ * @param {TakeScreenshotRequest} payload
1111
1057
  * @param {*} [options] Override http request option.
1112
1058
  * @throws {RequiredError}
1113
1059
  */
1114
- takeSnapshot: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
1060
+ takeScreenshot: (browserId_1, payload_1, ...args_1) => __awaiter(this, [browserId_1, payload_1, ...args_1], void 0, function* (browserId, payload, options = {}) {
1115
1061
  // verify required parameter 'browserId' is not null or undefined
1116
- assertParamExists('takeSnapshot', 'browserId', browserId);
1062
+ assertParamExists('takeScreenshot', 'browserId', browserId);
1117
1063
  // verify required parameter 'payload' is not null or undefined
1118
- assertParamExists('takeSnapshot', 'payload', payload);
1119
- const localVarPath = `/browser/{browser_id}/snapshot`
1064
+ assertParamExists('takeScreenshot', 'payload', payload);
1065
+ const localVarPath = `/browser/{browser_id}/screenshot`
1120
1066
  .replace(`{${"browser_id"}}`, encodeURIComponent(String(browserId)));
1121
1067
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1122
1068
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1140,9 +1086,9 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1140
1086
  }),
1141
1087
  /**
1142
1088
  *
1143
- * @summary Type text into an element
1144
- * @param {string} browserId Unique browser identifier
1145
- * @param {TypeRequest} payload
1089
+ * @summary Type text into element
1090
+ * @param {string} browserId
1091
+ * @param {TypeTextRequest} payload
1146
1092
  * @param {*} [options] Override http request option.
1147
1093
  * @throws {RequiredError}
1148
1094
  */
@@ -1175,8 +1121,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1175
1121
  }),
1176
1122
  /**
1177
1123
  *
1178
- * @summary Upload a file
1179
- * @param {string} browserId Unique browser identifier
1124
+ * @summary Upload file to input
1125
+ * @param {string} browserId
1180
1126
  * @param {UploadFileRequest} payload
1181
1127
  * @param {*} [options] Override http request option.
1182
1128
  * @throws {RequiredError}
@@ -1210,8 +1156,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1210
1156
  }),
1211
1157
  /**
1212
1158
  *
1213
- * @summary Wait for element to become visible or hidden
1214
- * @param {string} browserId Unique browser identifier
1159
+ * @summary Wait for element to be visible or hidden
1160
+ * @param {string} browserId
1215
1161
  * @param {WaitElementRequest} payload
1216
1162
  * @param {*} [options] Override http request option.
1217
1163
  * @throws {RequiredError}
@@ -1245,8 +1191,8 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1245
1191
  }),
1246
1192
  /**
1247
1193
  *
1248
- * @summary Analyze visible page content using AI
1249
- * @param {string} browserId Unique browser identifier
1194
+ * @summary AI page analysis - what\'s visible
1195
+ * @param {string} browserId
1250
1196
  * @param {*} [options] Override http request option.
1251
1197
  * @throws {RequiredError}
1252
1198
  */
@@ -1261,7 +1207,7 @@ export const BrowserApiAxiosParamCreator = function (configuration) {
1261
1207
  if (configuration) {
1262
1208
  baseOptions = configuration.baseOptions;
1263
1209
  }
1264
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1210
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1265
1211
  const localVarHeaderParameter = {};
1266
1212
  const localVarQueryParameter = {};
1267
1213
  localVarHeaderParameter['Accept'] = 'application/json';
@@ -1283,57 +1229,60 @@ export const BrowserApiFp = function (configuration) {
1283
1229
  return {
1284
1230
  /**
1285
1231
  *
1286
- * @summary Check if element exists or is visible
1287
- * @param {string} browserId Unique browser identifier
1288
- * @param {CheckElementRequest} payload
1232
+ * @summary Admin: list all, get info, or close all browsers
1233
+ * @param {BrowsersRequest} payload
1289
1234
  * @param {*} [options] Override http request option.
1290
1235
  * @throws {RequiredError}
1291
1236
  */
1292
- checkElement(browserId, payload, options) {
1237
+ browsers(payload, options) {
1293
1238
  return __awaiter(this, void 0, void 0, function* () {
1294
1239
  var _a, _b, _c;
1295
- const localVarAxiosArgs = yield localVarAxiosParamCreator.checkElement(browserId, payload, options);
1240
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.browsers(payload, options);
1296
1241
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1297
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.checkElement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1242
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.browsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1298
1243
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1299
1244
  });
1300
1245
  },
1301
1246
  /**
1302
- * Use if_visible=true to only click if visible.
1303
- * @summary Click element
1304
- * @param {string} browserId Unique browser identifier
1305
- * @param {ClickRequest} payload
1247
+ *
1248
+ * @summary Check if element exists or is visible
1249
+ * @param {string} browserId
1250
+ * @param {string} selector selector
1251
+ * @param {string} check check
1252
+ * @param {string} [by] by
1306
1253
  * @param {*} [options] Override http request option.
1307
1254
  * @throws {RequiredError}
1308
1255
  */
1309
- click(browserId, payload, options) {
1256
+ checkElement(browserId, selector, check, by, options) {
1310
1257
  return __awaiter(this, void 0, void 0, function* () {
1311
1258
  var _a, _b, _c;
1312
- const localVarAxiosArgs = yield localVarAxiosParamCreator.click(browserId, payload, options);
1259
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkElement(browserId, selector, check, by, options);
1313
1260
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1314
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.click']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1261
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.checkElement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1315
1262
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1316
1263
  });
1317
1264
  },
1318
1265
  /**
1319
- *
1320
- * @summary Close all active browser instances
1266
+ * Use if_visible=True to only click if visible.
1267
+ * @summary Click element
1268
+ * @param {string} browserId
1269
+ * @param {ClickRequest} payload
1321
1270
  * @param {*} [options] Override http request option.
1322
1271
  * @throws {RequiredError}
1323
1272
  */
1324
- closeAllBrowsers(options) {
1273
+ click(browserId, payload, options) {
1325
1274
  return __awaiter(this, void 0, void 0, function* () {
1326
1275
  var _a, _b, _c;
1327
- const localVarAxiosArgs = yield localVarAxiosParamCreator.closeAllBrowsers(options);
1276
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.click(browserId, payload, options);
1328
1277
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1329
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.closeAllBrowsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1278
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.click']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1330
1279
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1331
1280
  });
1332
1281
  },
1333
1282
  /**
1334
1283
  *
1335
- * @summary Close a browser instance
1336
- * @param {string} browserId Unique browser identifier
1284
+ * @summary Close browser instance
1285
+ * @param {string} browserId
1337
1286
  * @param {*} [options] Override http request option.
1338
1287
  * @throws {RequiredError}
1339
1288
  */
@@ -1348,8 +1297,8 @@ export const BrowserApiFp = function (configuration) {
1348
1297
  },
1349
1298
  /**
1350
1299
  *
1351
- * @summary Get or clear console logs
1352
- * @param {string} browserId Unique browser identifier
1300
+ * @summary Console logs: get or clear
1301
+ * @param {string} browserId
1353
1302
  * @param {ConsoleLogsRequest} payload
1354
1303
  * @param {*} [options] Override http request option.
1355
1304
  * @throws {RequiredError}
@@ -1365,8 +1314,8 @@ export const BrowserApiFp = function (configuration) {
1365
1314
  },
1366
1315
  /**
1367
1316
  *
1368
- * @summary Create a new browser instance
1369
- * @param {BrowserConfig} payload
1317
+ * @summary Create browser instance with optional persistent profile
1318
+ * @param {CreateBrowserRequest} payload
1370
1319
  * @param {*} [options] Override http request option.
1371
1320
  * @throws {RequiredError}
1372
1321
  */
@@ -1380,25 +1329,9 @@ export const BrowserApiFp = function (configuration) {
1380
1329
  });
1381
1330
  },
1382
1331
  /**
1383
- *
1384
- * @summary Close and remove a browser instance
1385
- * @param {string} browserId Unique browser identifier
1386
- * @param {*} [options] Override http request option.
1387
- * @throws {RequiredError}
1388
- */
1389
- deleteBrowser(browserId, options) {
1390
- return __awaiter(this, void 0, void 0, function* () {
1391
- var _a, _b, _c;
1392
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteBrowser(browserId, options);
1393
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1394
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.deleteBrowser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1395
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1396
- });
1397
- },
1398
- /**
1399
- *
1400
- * @summary Detect element coordinates using AI vision
1401
- * @param {string} browserId Unique browser identifier
1332
+ * 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).
1333
+ * @summary Detect element coordinates using vision
1334
+ * @param {string} browserId
1402
1335
  * @param {DetectCoordinatesRequest} payload
1403
1336
  * @param {*} [options] Override http request option.
1404
1337
  * @throws {RequiredError}
@@ -1414,9 +1347,9 @@ export const BrowserApiFp = function (configuration) {
1414
1347
  },
1415
1348
  /**
1416
1349
  *
1417
- * @summary Manage browser dialogs: get, accept, or dismiss
1418
- * @param {string} browserId Unique browser identifier
1419
- * @param {CombinedDialogRequest} payload
1350
+ * @summary Dialogs: get, accept, dismiss
1351
+ * @param {string} browserId
1352
+ * @param {DialogRequest} payload
1420
1353
  * @param {*} [options] Override http request option.
1421
1354
  * @throws {RequiredError}
1422
1355
  */
@@ -1431,9 +1364,9 @@ export const BrowserApiFp = function (configuration) {
1431
1364
  },
1432
1365
  /**
1433
1366
  *
1434
- * @summary Manage device emulation: set, clear, or list_devices
1435
- * @param {string} browserId Unique browser identifier
1436
- * @param {CombinedEmulateRequest} payload
1367
+ * @summary Emulation: set, clear, list_devices
1368
+ * @param {string} browserId
1369
+ * @param {EmulateRequest} payload
1437
1370
  * @param {*} [options] Override http request option.
1438
1371
  * @throws {RequiredError}
1439
1372
  */
@@ -1449,8 +1382,8 @@ export const BrowserApiFp = function (configuration) {
1449
1382
  /**
1450
1383
  *
1451
1384
  * @summary Execute JavaScript
1452
- * @param {string} browserId Unique browser identifier
1453
- * @param {ExecuteRequest} payload
1385
+ * @param {string} browserId
1386
+ * @param {ExecuteScriptRequest} payload
1454
1387
  * @param {*} [options] Override http request option.
1455
1388
  * @throws {RequiredError}
1456
1389
  */
@@ -1466,7 +1399,7 @@ export const BrowserApiFp = function (configuration) {
1466
1399
  /**
1467
1400
  *
1468
1401
  * @summary Fill multiple form fields
1469
- * @param {string} browserId Unique browser identifier
1402
+ * @param {string} browserId
1470
1403
  * @param {FillFormRequest} payload
1471
1404
  * @param {*} [options] Override http request option.
1472
1405
  * @throws {RequiredError}
@@ -1482,121 +1415,128 @@ export const BrowserApiFp = function (configuration) {
1482
1415
  },
1483
1416
  /**
1484
1417
  *
1485
- * @summary Get browser instance details
1486
- * @param {string} browserId Unique browser identifier
1418
+ * @summary Get page HTML
1419
+ * @param {string} browserId
1487
1420
  * @param {*} [options] Override http request option.
1488
1421
  * @throws {RequiredError}
1489
1422
  */
1490
- getBrowser(browserId, options) {
1423
+ getContent(browserId, options) {
1491
1424
  return __awaiter(this, void 0, void 0, function* () {
1492
1425
  var _a, _b, _c;
1493
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBrowser(browserId, options);
1426
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getContent(browserId, options);
1494
1427
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1495
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.getBrowser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1428
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.getContent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1496
1429
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1497
1430
  });
1498
1431
  },
1499
1432
  /**
1500
1433
  *
1501
- * @summary Get browser status
1502
- * @param {string} browserId Unique browser identifier
1434
+ * @summary Get element text, attribute, or property
1435
+ * @param {string} browserId
1436
+ * @param {string} selector selector
1437
+ * @param {string} dataType data_type
1438
+ * @param {string} [name] name
1439
+ * @param {string} [by] by
1503
1440
  * @param {*} [options] Override http request option.
1504
1441
  * @throws {RequiredError}
1505
1442
  */
1506
- getBrowserStatus(browserId, options) {
1443
+ getElementData(browserId, selector, dataType, name, by, options) {
1507
1444
  return __awaiter(this, void 0, void 0, function* () {
1508
1445
  var _a, _b, _c;
1509
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBrowserStatus(browserId, options);
1446
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getElementData(browserId, selector, dataType, name, by, options);
1510
1447
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1511
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.getBrowserStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1448
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.getElementData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1512
1449
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1513
1450
  });
1514
1451
  },
1515
1452
  /**
1516
1453
  *
1517
- * @summary Get page HTML content
1518
- * @param {string} browserId Unique browser identifier
1454
+ * @summary Get current URL
1455
+ * @param {string} browserId
1519
1456
  * @param {*} [options] Override http request option.
1520
1457
  * @throws {RequiredError}
1521
1458
  */
1522
- getContent(browserId, options) {
1459
+ getUrl(browserId, options) {
1523
1460
  return __awaiter(this, void 0, void 0, function* () {
1524
1461
  var _a, _b, _c;
1525
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getContent(browserId, options);
1462
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUrl(browserId, options);
1526
1463
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1527
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.getContent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1464
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.getUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1528
1465
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1529
1466
  });
1530
1467
  },
1531
1468
  /**
1532
1469
  *
1533
- * @summary Get element text, attribute, or property
1534
- * @param {string} browserId Unique browser identifier
1535
- * @param {ElementDataRequest} payload
1470
+ * @summary GUI click by selector or coordinates
1471
+ * @param {string} browserId
1472
+ * @param {GuiClickRequest} payload
1536
1473
  * @param {*} [options] Override http request option.
1537
1474
  * @throws {RequiredError}
1538
1475
  */
1539
- getElementData(browserId, payload, options) {
1476
+ guiClick(browserId, payload, options) {
1540
1477
  return __awaiter(this, void 0, void 0, function* () {
1541
1478
  var _a, _b, _c;
1542
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getElementData(browserId, payload, options);
1479
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.guiClick(browserId, payload, options);
1543
1480
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1544
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.getElementData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1481
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.guiClick']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1545
1482
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1546
1483
  });
1547
1484
  },
1548
1485
  /**
1549
1486
  *
1550
- * @summary Get browser pool status
1487
+ * @summary GUI hover at coordinates
1488
+ * @param {string} browserId
1489
+ * @param {GuiHoverXyRequest} payload
1551
1490
  * @param {*} [options] Override http request option.
1552
1491
  * @throws {RequiredError}
1553
1492
  */
1554
- getPoolStatus(options) {
1493
+ guiHoverXy(browserId, payload, options) {
1555
1494
  return __awaiter(this, void 0, void 0, function* () {
1556
1495
  var _a, _b, _c;
1557
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolStatus(options);
1496
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.guiHoverXy(browserId, payload, options);
1558
1497
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1559
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.getPoolStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1498
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.guiHoverXy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1560
1499
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1561
1500
  });
1562
1501
  },
1563
1502
  /**
1564
1503
  *
1565
- * @summary Get current page URL
1566
- * @param {string} browserId Unique browser identifier
1504
+ * @summary Press keys at coordinates (click to focus, then send keys)
1505
+ * @param {string} browserId
1506
+ * @param {GuiPressKeysXyRequest} payload
1567
1507
  * @param {*} [options] Override http request option.
1568
1508
  * @throws {RequiredError}
1569
1509
  */
1570
- getUrl(browserId, options) {
1510
+ guiPressKeysXy(browserId, payload, options) {
1571
1511
  return __awaiter(this, void 0, void 0, function* () {
1572
1512
  var _a, _b, _c;
1573
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUrl(browserId, options);
1513
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.guiPressKeysXy(browserId, payload, options);
1574
1514
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1575
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.getUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1515
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.guiPressKeysXy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1576
1516
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1577
1517
  });
1578
1518
  },
1579
1519
  /**
1580
1520
  *
1581
- * @summary Click using selector or screen coordinates
1582
- * @param {string} browserId Unique browser identifier
1583
- * @param {CombinedGuiClickRequest} payload
1521
+ * @summary GUI type at coordinates - clicks then types text
1522
+ * @param {string} browserId
1523
+ * @param {GuiTypeXyRequest} payload
1584
1524
  * @param {*} [options] Override http request option.
1585
1525
  * @throws {RequiredError}
1586
1526
  */
1587
- guiClick(browserId, payload, options) {
1527
+ guiTypeXy(browserId, payload, options) {
1588
1528
  return __awaiter(this, void 0, void 0, function* () {
1589
1529
  var _a, _b, _c;
1590
- const localVarAxiosArgs = yield localVarAxiosParamCreator.guiClick(browserId, payload, options);
1530
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.guiTypeXy(browserId, payload, options);
1591
1531
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1592
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.guiClick']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1532
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.guiTypeXy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1593
1533
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1594
1534
  });
1595
1535
  },
1596
1536
  /**
1597
1537
  *
1598
- * @summary Execute history action: back, forward, or refresh
1599
- * @param {string} browserId Unique browser identifier
1538
+ * @summary History: back, forward, or refresh
1539
+ * @param {string} browserId
1600
1540
  * @param {HistoryRequest} payload
1601
1541
  * @param {*} [options] Override http request option.
1602
1542
  * @throws {RequiredError}
@@ -1612,23 +1552,8 @@ export const BrowserApiFp = function (configuration) {
1612
1552
  },
1613
1553
  /**
1614
1554
  *
1615
- * @summary List all active browser instances
1616
- * @param {*} [options] Override http request option.
1617
- * @throws {RequiredError}
1618
- */
1619
- listBrowsers(options) {
1620
- return __awaiter(this, void 0, void 0, function* () {
1621
- var _a, _b, _c;
1622
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listBrowsers(options);
1623
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1624
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.listBrowsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1625
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1626
- });
1627
- },
1628
- /**
1629
- *
1630
- * @summary Mouse action: hover or drag
1631
- * @param {string} browserId Unique browser identifier
1555
+ * @summary Mouse: hover or drag
1556
+ * @param {string} browserId
1632
1557
  * @param {MouseRequest} payload
1633
1558
  * @param {*} [options] Override http request option.
1634
1559
  * @throws {RequiredError}
@@ -1644,9 +1569,9 @@ export const BrowserApiFp = function (configuration) {
1644
1569
  },
1645
1570
  /**
1646
1571
  *
1647
- * @summary Navigate to a URL
1648
- * @param {string} browserId Unique browser identifier
1649
- * @param {NavigateRequest} payload
1572
+ * @summary Navigate to URL
1573
+ * @param {string} browserId
1574
+ * @param {NavigateBrowserRequest} payload
1650
1575
  * @param {*} [options] Override http request option.
1651
1576
  * @throws {RequiredError}
1652
1577
  */
@@ -1661,8 +1586,8 @@ export const BrowserApiFp = function (configuration) {
1661
1586
  },
1662
1587
  /**
1663
1588
  *
1664
- * @summary Get or clear network logs
1665
- * @param {string} browserId Unique browser identifier
1589
+ * @summary Network logs: get or clear
1590
+ * @param {string} browserId
1666
1591
  * @param {NetworkLogsRequest} payload
1667
1592
  * @param {*} [options] Override http request option.
1668
1593
  * @throws {RequiredError}
@@ -1678,8 +1603,8 @@ export const BrowserApiFp = function (configuration) {
1678
1603
  },
1679
1604
  /**
1680
1605
  *
1681
- * @summary Manage performance: start_trace, stop_trace, metrics, or analyze
1682
- * @param {string} browserId Unique browser identifier
1606
+ * @summary Performance: start_trace, stop_trace, metrics, analyze
1607
+ * @param {string} browserId
1683
1608
  * @param {PerformanceRequest} payload
1684
1609
  * @param {*} [options] Override http request option.
1685
1610
  * @throws {RequiredError}
@@ -1695,8 +1620,8 @@ export const BrowserApiFp = function (configuration) {
1695
1620
  },
1696
1621
  /**
1697
1622
  *
1698
- * @summary Press keys on an element
1699
- * @param {string} browserId Unique browser identifier
1623
+ * @summary Press keyboard keys
1624
+ * @param {string} browserId
1700
1625
  * @param {PressKeysRequest} payload
1701
1626
  * @param {*} [options] Override http request option.
1702
1627
  * @throws {RequiredError}
@@ -1713,7 +1638,7 @@ export const BrowserApiFp = function (configuration) {
1713
1638
  /**
1714
1639
  *
1715
1640
  * @summary Resize viewport
1716
- * @param {string} browserId Unique browser identifier
1641
+ * @param {string} browserId
1717
1642
  * @param {ResizeRequest} payload
1718
1643
  * @param {*} [options] Override http request option.
1719
1644
  * @throws {RequiredError}
@@ -1729,9 +1654,9 @@ export const BrowserApiFp = function (configuration) {
1729
1654
  },
1730
1655
  /**
1731
1656
  *
1732
- * @summary Scroll to element/coordinates (absolute) or by delta (relative)
1733
- * @param {string} browserId Unique browser identifier
1734
- * @param {CombinedScrollRequest} payload
1657
+ * @summary Scroll to element/coords or by delta
1658
+ * @param {string} browserId
1659
+ * @param {ScrollRequest} payload
1735
1660
  * @param {*} [options] Override http request option.
1736
1661
  * @throws {RequiredError}
1737
1662
  */
@@ -1747,7 +1672,7 @@ export const BrowserApiFp = function (configuration) {
1747
1672
  /**
1748
1673
  *
1749
1674
  * @summary Select dropdown: select option or get options
1750
- * @param {string} browserId Unique browser identifier
1675
+ * @param {string} browserId
1751
1676
  * @param {SelectRequest} payload
1752
1677
  * @param {*} [options] Override http request option.
1753
1678
  * @throws {RequiredError}
@@ -1763,59 +1688,60 @@ export const BrowserApiFp = function (configuration) {
1763
1688
  },
1764
1689
  /**
1765
1690
  *
1766
- * @summary Manage browser tabs: list, new, switch, close, or current
1767
- * @param {string} browserId Unique browser identifier
1768
- * @param {TabsRequest} payload
1691
+ * @summary DOM or accessibility snapshot
1692
+ * @param {string} browserId
1693
+ * @param {SnapshotRequest} payload
1769
1694
  * @param {*} [options] Override http request option.
1770
1695
  * @throws {RequiredError}
1771
1696
  */
1772
- tabs(browserId, payload, options) {
1697
+ snapshot(browserId, payload, options) {
1773
1698
  return __awaiter(this, void 0, void 0, function* () {
1774
1699
  var _a, _b, _c;
1775
- const localVarAxiosArgs = yield localVarAxiosParamCreator.tabs(browserId, payload, options);
1700
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.snapshot(browserId, payload, options);
1776
1701
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1777
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.tabs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1702
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.snapshot']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1778
1703
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1779
1704
  });
1780
1705
  },
1781
1706
  /**
1782
1707
  *
1783
- * @summary Take a screenshot
1784
- * @param {string} browserId Unique browser identifier
1708
+ * @summary Tabs: list, new, switch, close, current
1709
+ * @param {string} browserId
1710
+ * @param {TabsRequest} payload
1785
1711
  * @param {*} [options] Override http request option.
1786
1712
  * @throws {RequiredError}
1787
1713
  */
1788
- takeScreenshot(browserId, options) {
1714
+ tabs(browserId, payload, options) {
1789
1715
  return __awaiter(this, void 0, void 0, function* () {
1790
1716
  var _a, _b, _c;
1791
- const localVarAxiosArgs = yield localVarAxiosParamCreator.takeScreenshot(browserId, options);
1717
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tabs(browserId, payload, options);
1792
1718
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1793
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.takeScreenshot']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1719
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.tabs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1794
1720
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1795
1721
  });
1796
1722
  },
1797
1723
  /**
1798
1724
  *
1799
- * @summary Take DOM/accessibility snapshot
1800
- * @param {string} browserId Unique browser identifier
1801
- * @param {SnapshotRequest} payload
1725
+ * @summary Take screenshot
1726
+ * @param {string} browserId
1727
+ * @param {TakeScreenshotRequest} payload
1802
1728
  * @param {*} [options] Override http request option.
1803
1729
  * @throws {RequiredError}
1804
1730
  */
1805
- takeSnapshot(browserId, payload, options) {
1731
+ takeScreenshot(browserId, payload, options) {
1806
1732
  return __awaiter(this, void 0, void 0, function* () {
1807
1733
  var _a, _b, _c;
1808
- const localVarAxiosArgs = yield localVarAxiosParamCreator.takeSnapshot(browserId, payload, options);
1734
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.takeScreenshot(browserId, payload, options);
1809
1735
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1810
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.takeSnapshot']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1736
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrowserApi.takeScreenshot']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1811
1737
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1812
1738
  });
1813
1739
  },
1814
1740
  /**
1815
1741
  *
1816
- * @summary Type text into an element
1817
- * @param {string} browserId Unique browser identifier
1818
- * @param {TypeRequest} payload
1742
+ * @summary Type text into element
1743
+ * @param {string} browserId
1744
+ * @param {TypeTextRequest} payload
1819
1745
  * @param {*} [options] Override http request option.
1820
1746
  * @throws {RequiredError}
1821
1747
  */
@@ -1830,8 +1756,8 @@ export const BrowserApiFp = function (configuration) {
1830
1756
  },
1831
1757
  /**
1832
1758
  *
1833
- * @summary Upload a file
1834
- * @param {string} browserId Unique browser identifier
1759
+ * @summary Upload file to input
1760
+ * @param {string} browserId
1835
1761
  * @param {UploadFileRequest} payload
1836
1762
  * @param {*} [options] Override http request option.
1837
1763
  * @throws {RequiredError}
@@ -1847,8 +1773,8 @@ export const BrowserApiFp = function (configuration) {
1847
1773
  },
1848
1774
  /**
1849
1775
  *
1850
- * @summary Wait for element to become visible or hidden
1851
- * @param {string} browserId Unique browser identifier
1776
+ * @summary Wait for element to be visible or hidden
1777
+ * @param {string} browserId
1852
1778
  * @param {WaitElementRequest} payload
1853
1779
  * @param {*} [options] Override http request option.
1854
1780
  * @throws {RequiredError}
@@ -1864,8 +1790,8 @@ export const BrowserApiFp = function (configuration) {
1864
1790
  },
1865
1791
  /**
1866
1792
  *
1867
- * @summary Analyze visible page content using AI
1868
- * @param {string} browserId Unique browser identifier
1793
+ * @summary AI page analysis - what\'s visible
1794
+ * @param {string} browserId
1869
1795
  * @param {*} [options] Override http request option.
1870
1796
  * @throws {RequiredError}
1871
1797
  */
@@ -1888,39 +1814,42 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
1888
1814
  return {
1889
1815
  /**
1890
1816
  *
1891
- * @summary Check if element exists or is visible
1892
- * @param {string} browserId Unique browser identifier
1893
- * @param {CheckElementRequest} payload
1817
+ * @summary Admin: list all, get info, or close all browsers
1818
+ * @param {BrowsersRequest} payload
1894
1819
  * @param {*} [options] Override http request option.
1895
1820
  * @throws {RequiredError}
1896
1821
  */
1897
- checkElement(browserId, payload, options) {
1898
- return localVarFp.checkElement(browserId, payload, options).then((request) => request(axios, basePath));
1822
+ browsers(payload, options) {
1823
+ return localVarFp.browsers(payload, options).then((request) => request(axios, basePath));
1899
1824
  },
1900
1825
  /**
1901
- * Use if_visible=true to only click if visible.
1902
- * @summary Click element
1903
- * @param {string} browserId Unique browser identifier
1904
- * @param {ClickRequest} payload
1826
+ *
1827
+ * @summary Check if element exists or is visible
1828
+ * @param {string} browserId
1829
+ * @param {string} selector selector
1830
+ * @param {string} check check
1831
+ * @param {string} [by] by
1905
1832
  * @param {*} [options] Override http request option.
1906
1833
  * @throws {RequiredError}
1907
1834
  */
1908
- click(browserId, payload, options) {
1909
- return localVarFp.click(browserId, payload, options).then((request) => request(axios, basePath));
1835
+ checkElement(browserId, selector, check, by, options) {
1836
+ return localVarFp.checkElement(browserId, selector, check, by, options).then((request) => request(axios, basePath));
1910
1837
  },
1911
1838
  /**
1912
- *
1913
- * @summary Close all active browser instances
1839
+ * Use if_visible=True to only click if visible.
1840
+ * @summary Click element
1841
+ * @param {string} browserId
1842
+ * @param {ClickRequest} payload
1914
1843
  * @param {*} [options] Override http request option.
1915
1844
  * @throws {RequiredError}
1916
1845
  */
1917
- closeAllBrowsers(options) {
1918
- return localVarFp.closeAllBrowsers(options).then((request) => request(axios, basePath));
1846
+ click(browserId, payload, options) {
1847
+ return localVarFp.click(browserId, payload, options).then((request) => request(axios, basePath));
1919
1848
  },
1920
1849
  /**
1921
1850
  *
1922
- * @summary Close a browser instance
1923
- * @param {string} browserId Unique browser identifier
1851
+ * @summary Close browser instance
1852
+ * @param {string} browserId
1924
1853
  * @param {*} [options] Override http request option.
1925
1854
  * @throws {RequiredError}
1926
1855
  */
@@ -1929,8 +1858,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
1929
1858
  },
1930
1859
  /**
1931
1860
  *
1932
- * @summary Get or clear console logs
1933
- * @param {string} browserId Unique browser identifier
1861
+ * @summary Console logs: get or clear
1862
+ * @param {string} browserId
1934
1863
  * @param {ConsoleLogsRequest} payload
1935
1864
  * @param {*} [options] Override http request option.
1936
1865
  * @throws {RequiredError}
@@ -1940,8 +1869,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
1940
1869
  },
1941
1870
  /**
1942
1871
  *
1943
- * @summary Create a new browser instance
1944
- * @param {BrowserConfig} payload
1872
+ * @summary Create browser instance with optional persistent profile
1873
+ * @param {CreateBrowserRequest} payload
1945
1874
  * @param {*} [options] Override http request option.
1946
1875
  * @throws {RequiredError}
1947
1876
  */
@@ -1949,19 +1878,9 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
1949
1878
  return localVarFp.createBrowser(payload, options).then((request) => request(axios, basePath));
1950
1879
  },
1951
1880
  /**
1952
- *
1953
- * @summary Close and remove a browser instance
1954
- * @param {string} browserId Unique browser identifier
1955
- * @param {*} [options] Override http request option.
1956
- * @throws {RequiredError}
1957
- */
1958
- deleteBrowser(browserId, options) {
1959
- return localVarFp.deleteBrowser(browserId, options).then((request) => request(axios, basePath));
1960
- },
1961
- /**
1962
- *
1963
- * @summary Detect element coordinates using AI vision
1964
- * @param {string} browserId Unique browser identifier
1881
+ * 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).
1882
+ * @summary Detect element coordinates using vision
1883
+ * @param {string} browserId
1965
1884
  * @param {DetectCoordinatesRequest} payload
1966
1885
  * @param {*} [options] Override http request option.
1967
1886
  * @throws {RequiredError}
@@ -1971,9 +1890,9 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
1971
1890
  },
1972
1891
  /**
1973
1892
  *
1974
- * @summary Manage browser dialogs: get, accept, or dismiss
1975
- * @param {string} browserId Unique browser identifier
1976
- * @param {CombinedDialogRequest} payload
1893
+ * @summary Dialogs: get, accept, dismiss
1894
+ * @param {string} browserId
1895
+ * @param {DialogRequest} payload
1977
1896
  * @param {*} [options] Override http request option.
1978
1897
  * @throws {RequiredError}
1979
1898
  */
@@ -1982,9 +1901,9 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
1982
1901
  },
1983
1902
  /**
1984
1903
  *
1985
- * @summary Manage device emulation: set, clear, or list_devices
1986
- * @param {string} browserId Unique browser identifier
1987
- * @param {CombinedEmulateRequest} payload
1904
+ * @summary Emulation: set, clear, list_devices
1905
+ * @param {string} browserId
1906
+ * @param {EmulateRequest} payload
1988
1907
  * @param {*} [options] Override http request option.
1989
1908
  * @throws {RequiredError}
1990
1909
  */
@@ -1994,8 +1913,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
1994
1913
  /**
1995
1914
  *
1996
1915
  * @summary Execute JavaScript
1997
- * @param {string} browserId Unique browser identifier
1998
- * @param {ExecuteRequest} payload
1916
+ * @param {string} browserId
1917
+ * @param {ExecuteScriptRequest} payload
1999
1918
  * @param {*} [options] Override http request option.
2000
1919
  * @throws {RequiredError}
2001
1920
  */
@@ -2005,7 +1924,7 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2005
1924
  /**
2006
1925
  *
2007
1926
  * @summary Fill multiple form fields
2008
- * @param {string} browserId Unique browser identifier
1927
+ * @param {string} browserId
2009
1928
  * @param {FillFormRequest} payload
2010
1929
  * @param {*} [options] Override http request option.
2011
1930
  * @throws {RequiredError}
@@ -2015,79 +1934,86 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2015
1934
  },
2016
1935
  /**
2017
1936
  *
2018
- * @summary Get browser instance details
2019
- * @param {string} browserId Unique browser identifier
1937
+ * @summary Get page HTML
1938
+ * @param {string} browserId
2020
1939
  * @param {*} [options] Override http request option.
2021
1940
  * @throws {RequiredError}
2022
1941
  */
2023
- getBrowser(browserId, options) {
2024
- return localVarFp.getBrowser(browserId, options).then((request) => request(axios, basePath));
1942
+ getContent(browserId, options) {
1943
+ return localVarFp.getContent(browserId, options).then((request) => request(axios, basePath));
2025
1944
  },
2026
1945
  /**
2027
1946
  *
2028
- * @summary Get browser status
2029
- * @param {string} browserId Unique browser identifier
1947
+ * @summary Get element text, attribute, or property
1948
+ * @param {string} browserId
1949
+ * @param {string} selector selector
1950
+ * @param {string} dataType data_type
1951
+ * @param {string} [name] name
1952
+ * @param {string} [by] by
2030
1953
  * @param {*} [options] Override http request option.
2031
1954
  * @throws {RequiredError}
2032
1955
  */
2033
- getBrowserStatus(browserId, options) {
2034
- return localVarFp.getBrowserStatus(browserId, options).then((request) => request(axios, basePath));
1956
+ getElementData(browserId, selector, dataType, name, by, options) {
1957
+ return localVarFp.getElementData(browserId, selector, dataType, name, by, options).then((request) => request(axios, basePath));
2035
1958
  },
2036
1959
  /**
2037
1960
  *
2038
- * @summary Get page HTML content
2039
- * @param {string} browserId Unique browser identifier
1961
+ * @summary Get current URL
1962
+ * @param {string} browserId
2040
1963
  * @param {*} [options] Override http request option.
2041
1964
  * @throws {RequiredError}
2042
1965
  */
2043
- getContent(browserId, options) {
2044
- return localVarFp.getContent(browserId, options).then((request) => request(axios, basePath));
1966
+ getUrl(browserId, options) {
1967
+ return localVarFp.getUrl(browserId, options).then((request) => request(axios, basePath));
2045
1968
  },
2046
1969
  /**
2047
1970
  *
2048
- * @summary Get element text, attribute, or property
2049
- * @param {string} browserId Unique browser identifier
2050
- * @param {ElementDataRequest} payload
1971
+ * @summary GUI click by selector or coordinates
1972
+ * @param {string} browserId
1973
+ * @param {GuiClickRequest} payload
2051
1974
  * @param {*} [options] Override http request option.
2052
1975
  * @throws {RequiredError}
2053
1976
  */
2054
- getElementData(browserId, payload, options) {
2055
- return localVarFp.getElementData(browserId, payload, options).then((request) => request(axios, basePath));
1977
+ guiClick(browserId, payload, options) {
1978
+ return localVarFp.guiClick(browserId, payload, options).then((request) => request(axios, basePath));
2056
1979
  },
2057
1980
  /**
2058
1981
  *
2059
- * @summary Get browser pool status
1982
+ * @summary GUI hover at coordinates
1983
+ * @param {string} browserId
1984
+ * @param {GuiHoverXyRequest} payload
2060
1985
  * @param {*} [options] Override http request option.
2061
1986
  * @throws {RequiredError}
2062
1987
  */
2063
- getPoolStatus(options) {
2064
- return localVarFp.getPoolStatus(options).then((request) => request(axios, basePath));
1988
+ guiHoverXy(browserId, payload, options) {
1989
+ return localVarFp.guiHoverXy(browserId, payload, options).then((request) => request(axios, basePath));
2065
1990
  },
2066
1991
  /**
2067
1992
  *
2068
- * @summary Get current page URL
2069
- * @param {string} browserId Unique browser identifier
1993
+ * @summary Press keys at coordinates (click to focus, then send keys)
1994
+ * @param {string} browserId
1995
+ * @param {GuiPressKeysXyRequest} payload
2070
1996
  * @param {*} [options] Override http request option.
2071
1997
  * @throws {RequiredError}
2072
1998
  */
2073
- getUrl(browserId, options) {
2074
- return localVarFp.getUrl(browserId, options).then((request) => request(axios, basePath));
1999
+ guiPressKeysXy(browserId, payload, options) {
2000
+ return localVarFp.guiPressKeysXy(browserId, payload, options).then((request) => request(axios, basePath));
2075
2001
  },
2076
2002
  /**
2077
2003
  *
2078
- * @summary Click using selector or screen coordinates
2079
- * @param {string} browserId Unique browser identifier
2080
- * @param {CombinedGuiClickRequest} payload
2004
+ * @summary GUI type at coordinates - clicks then types text
2005
+ * @param {string} browserId
2006
+ * @param {GuiTypeXyRequest} payload
2081
2007
  * @param {*} [options] Override http request option.
2082
2008
  * @throws {RequiredError}
2083
2009
  */
2084
- guiClick(browserId, payload, options) {
2085
- return localVarFp.guiClick(browserId, payload, options).then((request) => request(axios, basePath));
2010
+ guiTypeXy(browserId, payload, options) {
2011
+ return localVarFp.guiTypeXy(browserId, payload, options).then((request) => request(axios, basePath));
2086
2012
  },
2087
2013
  /**
2088
2014
  *
2089
- * @summary Execute history action: back, forward, or refresh
2090
- * @param {string} browserId Unique browser identifier
2015
+ * @summary History: back, forward, or refresh
2016
+ * @param {string} browserId
2091
2017
  * @param {HistoryRequest} payload
2092
2018
  * @param {*} [options] Override http request option.
2093
2019
  * @throws {RequiredError}
@@ -2097,17 +2023,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2097
2023
  },
2098
2024
  /**
2099
2025
  *
2100
- * @summary List all active browser instances
2101
- * @param {*} [options] Override http request option.
2102
- * @throws {RequiredError}
2103
- */
2104
- listBrowsers(options) {
2105
- return localVarFp.listBrowsers(options).then((request) => request(axios, basePath));
2106
- },
2107
- /**
2108
- *
2109
- * @summary Mouse action: hover or drag
2110
- * @param {string} browserId Unique browser identifier
2026
+ * @summary Mouse: hover or drag
2027
+ * @param {string} browserId
2111
2028
  * @param {MouseRequest} payload
2112
2029
  * @param {*} [options] Override http request option.
2113
2030
  * @throws {RequiredError}
@@ -2117,9 +2034,9 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2117
2034
  },
2118
2035
  /**
2119
2036
  *
2120
- * @summary Navigate to a URL
2121
- * @param {string} browserId Unique browser identifier
2122
- * @param {NavigateRequest} payload
2037
+ * @summary Navigate to URL
2038
+ * @param {string} browserId
2039
+ * @param {NavigateBrowserRequest} payload
2123
2040
  * @param {*} [options] Override http request option.
2124
2041
  * @throws {RequiredError}
2125
2042
  */
@@ -2128,8 +2045,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2128
2045
  },
2129
2046
  /**
2130
2047
  *
2131
- * @summary Get or clear network logs
2132
- * @param {string} browserId Unique browser identifier
2048
+ * @summary Network logs: get or clear
2049
+ * @param {string} browserId
2133
2050
  * @param {NetworkLogsRequest} payload
2134
2051
  * @param {*} [options] Override http request option.
2135
2052
  * @throws {RequiredError}
@@ -2139,8 +2056,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2139
2056
  },
2140
2057
  /**
2141
2058
  *
2142
- * @summary Manage performance: start_trace, stop_trace, metrics, or analyze
2143
- * @param {string} browserId Unique browser identifier
2059
+ * @summary Performance: start_trace, stop_trace, metrics, analyze
2060
+ * @param {string} browserId
2144
2061
  * @param {PerformanceRequest} payload
2145
2062
  * @param {*} [options] Override http request option.
2146
2063
  * @throws {RequiredError}
@@ -2150,8 +2067,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2150
2067
  },
2151
2068
  /**
2152
2069
  *
2153
- * @summary Press keys on an element
2154
- * @param {string} browserId Unique browser identifier
2070
+ * @summary Press keyboard keys
2071
+ * @param {string} browserId
2155
2072
  * @param {PressKeysRequest} payload
2156
2073
  * @param {*} [options] Override http request option.
2157
2074
  * @throws {RequiredError}
@@ -2162,7 +2079,7 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2162
2079
  /**
2163
2080
  *
2164
2081
  * @summary Resize viewport
2165
- * @param {string} browserId Unique browser identifier
2082
+ * @param {string} browserId
2166
2083
  * @param {ResizeRequest} payload
2167
2084
  * @param {*} [options] Override http request option.
2168
2085
  * @throws {RequiredError}
@@ -2172,9 +2089,9 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2172
2089
  },
2173
2090
  /**
2174
2091
  *
2175
- * @summary Scroll to element/coordinates (absolute) or by delta (relative)
2176
- * @param {string} browserId Unique browser identifier
2177
- * @param {CombinedScrollRequest} payload
2092
+ * @summary Scroll to element/coords or by delta
2093
+ * @param {string} browserId
2094
+ * @param {ScrollRequest} payload
2178
2095
  * @param {*} [options] Override http request option.
2179
2096
  * @throws {RequiredError}
2180
2097
  */
@@ -2184,7 +2101,7 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2184
2101
  /**
2185
2102
  *
2186
2103
  * @summary Select dropdown: select option or get options
2187
- * @param {string} browserId Unique browser identifier
2104
+ * @param {string} browserId
2188
2105
  * @param {SelectRequest} payload
2189
2106
  * @param {*} [options] Override http request option.
2190
2107
  * @throws {RequiredError}
@@ -2194,41 +2111,42 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2194
2111
  },
2195
2112
  /**
2196
2113
  *
2197
- * @summary Manage browser tabs: list, new, switch, close, or current
2198
- * @param {string} browserId Unique browser identifier
2199
- * @param {TabsRequest} payload
2114
+ * @summary DOM or accessibility snapshot
2115
+ * @param {string} browserId
2116
+ * @param {SnapshotRequest} payload
2200
2117
  * @param {*} [options] Override http request option.
2201
2118
  * @throws {RequiredError}
2202
2119
  */
2203
- tabs(browserId, payload, options) {
2204
- return localVarFp.tabs(browserId, payload, options).then((request) => request(axios, basePath));
2120
+ snapshot(browserId, payload, options) {
2121
+ return localVarFp.snapshot(browserId, payload, options).then((request) => request(axios, basePath));
2205
2122
  },
2206
2123
  /**
2207
2124
  *
2208
- * @summary Take a screenshot
2209
- * @param {string} browserId Unique browser identifier
2125
+ * @summary Tabs: list, new, switch, close, current
2126
+ * @param {string} browserId
2127
+ * @param {TabsRequest} payload
2210
2128
  * @param {*} [options] Override http request option.
2211
2129
  * @throws {RequiredError}
2212
2130
  */
2213
- takeScreenshot(browserId, options) {
2214
- return localVarFp.takeScreenshot(browserId, options).then((request) => request(axios, basePath));
2131
+ tabs(browserId, payload, options) {
2132
+ return localVarFp.tabs(browserId, payload, options).then((request) => request(axios, basePath));
2215
2133
  },
2216
2134
  /**
2217
2135
  *
2218
- * @summary Take DOM/accessibility snapshot
2219
- * @param {string} browserId Unique browser identifier
2220
- * @param {SnapshotRequest} payload
2136
+ * @summary Take screenshot
2137
+ * @param {string} browserId
2138
+ * @param {TakeScreenshotRequest} payload
2221
2139
  * @param {*} [options] Override http request option.
2222
2140
  * @throws {RequiredError}
2223
2141
  */
2224
- takeSnapshot(browserId, payload, options) {
2225
- return localVarFp.takeSnapshot(browserId, payload, options).then((request) => request(axios, basePath));
2142
+ takeScreenshot(browserId, payload, options) {
2143
+ return localVarFp.takeScreenshot(browserId, payload, options).then((request) => request(axios, basePath));
2226
2144
  },
2227
2145
  /**
2228
2146
  *
2229
- * @summary Type text into an element
2230
- * @param {string} browserId Unique browser identifier
2231
- * @param {TypeRequest} payload
2147
+ * @summary Type text into element
2148
+ * @param {string} browserId
2149
+ * @param {TypeTextRequest} payload
2232
2150
  * @param {*} [options] Override http request option.
2233
2151
  * @throws {RequiredError}
2234
2152
  */
@@ -2237,8 +2155,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2237
2155
  },
2238
2156
  /**
2239
2157
  *
2240
- * @summary Upload a file
2241
- * @param {string} browserId Unique browser identifier
2158
+ * @summary Upload file to input
2159
+ * @param {string} browserId
2242
2160
  * @param {UploadFileRequest} payload
2243
2161
  * @param {*} [options] Override http request option.
2244
2162
  * @throws {RequiredError}
@@ -2248,8 +2166,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2248
2166
  },
2249
2167
  /**
2250
2168
  *
2251
- * @summary Wait for element to become visible or hidden
2252
- * @param {string} browserId Unique browser identifier
2169
+ * @summary Wait for element to be visible or hidden
2170
+ * @param {string} browserId
2253
2171
  * @param {WaitElementRequest} payload
2254
2172
  * @param {*} [options] Override http request option.
2255
2173
  * @throws {RequiredError}
@@ -2259,8 +2177,8 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2259
2177
  },
2260
2178
  /**
2261
2179
  *
2262
- * @summary Analyze visible page content using AI
2263
- * @param {string} browserId Unique browser identifier
2180
+ * @summary AI page analysis - what\'s visible
2181
+ * @param {string} browserId
2264
2182
  * @param {*} [options] Override http request option.
2265
2183
  * @throws {RequiredError}
2266
2184
  */
@@ -2275,39 +2193,42 @@ export const BrowserApiFactory = function (configuration, basePath, axios) {
2275
2193
  export class BrowserApi extends BaseAPI {
2276
2194
  /**
2277
2195
  *
2278
- * @summary Check if element exists or is visible
2279
- * @param {string} browserId Unique browser identifier
2280
- * @param {CheckElementRequest} payload
2196
+ * @summary Admin: list all, get info, or close all browsers
2197
+ * @param {BrowsersRequest} payload
2281
2198
  * @param {*} [options] Override http request option.
2282
2199
  * @throws {RequiredError}
2283
2200
  */
2284
- checkElement(browserId, payload, options) {
2285
- return BrowserApiFp(this.configuration).checkElement(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2201
+ browsers(payload, options) {
2202
+ return BrowserApiFp(this.configuration).browsers(payload, options).then((request) => request(this.axios, this.basePath));
2286
2203
  }
2287
2204
  /**
2288
- * Use if_visible=true to only click if visible.
2289
- * @summary Click element
2290
- * @param {string} browserId Unique browser identifier
2291
- * @param {ClickRequest} payload
2205
+ *
2206
+ * @summary Check if element exists or is visible
2207
+ * @param {string} browserId
2208
+ * @param {string} selector selector
2209
+ * @param {string} check check
2210
+ * @param {string} [by] by
2292
2211
  * @param {*} [options] Override http request option.
2293
2212
  * @throws {RequiredError}
2294
2213
  */
2295
- click(browserId, payload, options) {
2296
- return BrowserApiFp(this.configuration).click(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2214
+ checkElement(browserId, selector, check, by, options) {
2215
+ return BrowserApiFp(this.configuration).checkElement(browserId, selector, check, by, options).then((request) => request(this.axios, this.basePath));
2297
2216
  }
2298
2217
  /**
2299
- *
2300
- * @summary Close all active browser instances
2218
+ * Use if_visible=True to only click if visible.
2219
+ * @summary Click element
2220
+ * @param {string} browserId
2221
+ * @param {ClickRequest} payload
2301
2222
  * @param {*} [options] Override http request option.
2302
2223
  * @throws {RequiredError}
2303
2224
  */
2304
- closeAllBrowsers(options) {
2305
- return BrowserApiFp(this.configuration).closeAllBrowsers(options).then((request) => request(this.axios, this.basePath));
2225
+ click(browserId, payload, options) {
2226
+ return BrowserApiFp(this.configuration).click(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2306
2227
  }
2307
2228
  /**
2308
2229
  *
2309
- * @summary Close a browser instance
2310
- * @param {string} browserId Unique browser identifier
2230
+ * @summary Close browser instance
2231
+ * @param {string} browserId
2311
2232
  * @param {*} [options] Override http request option.
2312
2233
  * @throws {RequiredError}
2313
2234
  */
@@ -2316,8 +2237,8 @@ export class BrowserApi extends BaseAPI {
2316
2237
  }
2317
2238
  /**
2318
2239
  *
2319
- * @summary Get or clear console logs
2320
- * @param {string} browserId Unique browser identifier
2240
+ * @summary Console logs: get or clear
2241
+ * @param {string} browserId
2321
2242
  * @param {ConsoleLogsRequest} payload
2322
2243
  * @param {*} [options] Override http request option.
2323
2244
  * @throws {RequiredError}
@@ -2327,8 +2248,8 @@ export class BrowserApi extends BaseAPI {
2327
2248
  }
2328
2249
  /**
2329
2250
  *
2330
- * @summary Create a new browser instance
2331
- * @param {BrowserConfig} payload
2251
+ * @summary Create browser instance with optional persistent profile
2252
+ * @param {CreateBrowserRequest} payload
2332
2253
  * @param {*} [options] Override http request option.
2333
2254
  * @throws {RequiredError}
2334
2255
  */
@@ -2336,19 +2257,9 @@ export class BrowserApi extends BaseAPI {
2336
2257
  return BrowserApiFp(this.configuration).createBrowser(payload, options).then((request) => request(this.axios, this.basePath));
2337
2258
  }
2338
2259
  /**
2339
- *
2340
- * @summary Close and remove a browser instance
2341
- * @param {string} browserId Unique browser identifier
2342
- * @param {*} [options] Override http request option.
2343
- * @throws {RequiredError}
2344
- */
2345
- deleteBrowser(browserId, options) {
2346
- return BrowserApiFp(this.configuration).deleteBrowser(browserId, options).then((request) => request(this.axios, this.basePath));
2347
- }
2348
- /**
2349
- *
2350
- * @summary Detect element coordinates using AI vision
2351
- * @param {string} browserId Unique browser identifier
2260
+ * 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).
2261
+ * @summary Detect element coordinates using vision
2262
+ * @param {string} browserId
2352
2263
  * @param {DetectCoordinatesRequest} payload
2353
2264
  * @param {*} [options] Override http request option.
2354
2265
  * @throws {RequiredError}
@@ -2358,9 +2269,9 @@ export class BrowserApi extends BaseAPI {
2358
2269
  }
2359
2270
  /**
2360
2271
  *
2361
- * @summary Manage browser dialogs: get, accept, or dismiss
2362
- * @param {string} browserId Unique browser identifier
2363
- * @param {CombinedDialogRequest} payload
2272
+ * @summary Dialogs: get, accept, dismiss
2273
+ * @param {string} browserId
2274
+ * @param {DialogRequest} payload
2364
2275
  * @param {*} [options] Override http request option.
2365
2276
  * @throws {RequiredError}
2366
2277
  */
@@ -2369,9 +2280,9 @@ export class BrowserApi extends BaseAPI {
2369
2280
  }
2370
2281
  /**
2371
2282
  *
2372
- * @summary Manage device emulation: set, clear, or list_devices
2373
- * @param {string} browserId Unique browser identifier
2374
- * @param {CombinedEmulateRequest} payload
2283
+ * @summary Emulation: set, clear, list_devices
2284
+ * @param {string} browserId
2285
+ * @param {EmulateRequest} payload
2375
2286
  * @param {*} [options] Override http request option.
2376
2287
  * @throws {RequiredError}
2377
2288
  */
@@ -2381,8 +2292,8 @@ export class BrowserApi extends BaseAPI {
2381
2292
  /**
2382
2293
  *
2383
2294
  * @summary Execute JavaScript
2384
- * @param {string} browserId Unique browser identifier
2385
- * @param {ExecuteRequest} payload
2295
+ * @param {string} browserId
2296
+ * @param {ExecuteScriptRequest} payload
2386
2297
  * @param {*} [options] Override http request option.
2387
2298
  * @throws {RequiredError}
2388
2299
  */
@@ -2392,7 +2303,7 @@ export class BrowserApi extends BaseAPI {
2392
2303
  /**
2393
2304
  *
2394
2305
  * @summary Fill multiple form fields
2395
- * @param {string} browserId Unique browser identifier
2306
+ * @param {string} browserId
2396
2307
  * @param {FillFormRequest} payload
2397
2308
  * @param {*} [options] Override http request option.
2398
2309
  * @throws {RequiredError}
@@ -2402,79 +2313,86 @@ export class BrowserApi extends BaseAPI {
2402
2313
  }
2403
2314
  /**
2404
2315
  *
2405
- * @summary Get browser instance details
2406
- * @param {string} browserId Unique browser identifier
2316
+ * @summary Get page HTML
2317
+ * @param {string} browserId
2407
2318
  * @param {*} [options] Override http request option.
2408
2319
  * @throws {RequiredError}
2409
2320
  */
2410
- getBrowser(browserId, options) {
2411
- return BrowserApiFp(this.configuration).getBrowser(browserId, options).then((request) => request(this.axios, this.basePath));
2321
+ getContent(browserId, options) {
2322
+ return BrowserApiFp(this.configuration).getContent(browserId, options).then((request) => request(this.axios, this.basePath));
2412
2323
  }
2413
2324
  /**
2414
2325
  *
2415
- * @summary Get browser status
2416
- * @param {string} browserId Unique browser identifier
2326
+ * @summary Get element text, attribute, or property
2327
+ * @param {string} browserId
2328
+ * @param {string} selector selector
2329
+ * @param {string} dataType data_type
2330
+ * @param {string} [name] name
2331
+ * @param {string} [by] by
2417
2332
  * @param {*} [options] Override http request option.
2418
2333
  * @throws {RequiredError}
2419
2334
  */
2420
- getBrowserStatus(browserId, options) {
2421
- return BrowserApiFp(this.configuration).getBrowserStatus(browserId, options).then((request) => request(this.axios, this.basePath));
2335
+ getElementData(browserId, selector, dataType, name, by, options) {
2336
+ return BrowserApiFp(this.configuration).getElementData(browserId, selector, dataType, name, by, options).then((request) => request(this.axios, this.basePath));
2422
2337
  }
2423
2338
  /**
2424
2339
  *
2425
- * @summary Get page HTML content
2426
- * @param {string} browserId Unique browser identifier
2340
+ * @summary Get current URL
2341
+ * @param {string} browserId
2427
2342
  * @param {*} [options] Override http request option.
2428
2343
  * @throws {RequiredError}
2429
2344
  */
2430
- getContent(browserId, options) {
2431
- return BrowserApiFp(this.configuration).getContent(browserId, options).then((request) => request(this.axios, this.basePath));
2345
+ getUrl(browserId, options) {
2346
+ return BrowserApiFp(this.configuration).getUrl(browserId, options).then((request) => request(this.axios, this.basePath));
2432
2347
  }
2433
2348
  /**
2434
2349
  *
2435
- * @summary Get element text, attribute, or property
2436
- * @param {string} browserId Unique browser identifier
2437
- * @param {ElementDataRequest} payload
2350
+ * @summary GUI click by selector or coordinates
2351
+ * @param {string} browserId
2352
+ * @param {GuiClickRequest} payload
2438
2353
  * @param {*} [options] Override http request option.
2439
2354
  * @throws {RequiredError}
2440
2355
  */
2441
- getElementData(browserId, payload, options) {
2442
- return BrowserApiFp(this.configuration).getElementData(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2356
+ guiClick(browserId, payload, options) {
2357
+ return BrowserApiFp(this.configuration).guiClick(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2443
2358
  }
2444
2359
  /**
2445
2360
  *
2446
- * @summary Get browser pool status
2361
+ * @summary GUI hover at coordinates
2362
+ * @param {string} browserId
2363
+ * @param {GuiHoverXyRequest} payload
2447
2364
  * @param {*} [options] Override http request option.
2448
2365
  * @throws {RequiredError}
2449
2366
  */
2450
- getPoolStatus(options) {
2451
- return BrowserApiFp(this.configuration).getPoolStatus(options).then((request) => request(this.axios, this.basePath));
2367
+ guiHoverXy(browserId, payload, options) {
2368
+ return BrowserApiFp(this.configuration).guiHoverXy(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2452
2369
  }
2453
2370
  /**
2454
2371
  *
2455
- * @summary Get current page URL
2456
- * @param {string} browserId Unique browser identifier
2372
+ * @summary Press keys at coordinates (click to focus, then send keys)
2373
+ * @param {string} browserId
2374
+ * @param {GuiPressKeysXyRequest} payload
2457
2375
  * @param {*} [options] Override http request option.
2458
2376
  * @throws {RequiredError}
2459
2377
  */
2460
- getUrl(browserId, options) {
2461
- return BrowserApiFp(this.configuration).getUrl(browserId, options).then((request) => request(this.axios, this.basePath));
2378
+ guiPressKeysXy(browserId, payload, options) {
2379
+ return BrowserApiFp(this.configuration).guiPressKeysXy(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2462
2380
  }
2463
2381
  /**
2464
2382
  *
2465
- * @summary Click using selector or screen coordinates
2466
- * @param {string} browserId Unique browser identifier
2467
- * @param {CombinedGuiClickRequest} payload
2383
+ * @summary GUI type at coordinates - clicks then types text
2384
+ * @param {string} browserId
2385
+ * @param {GuiTypeXyRequest} payload
2468
2386
  * @param {*} [options] Override http request option.
2469
2387
  * @throws {RequiredError}
2470
2388
  */
2471
- guiClick(browserId, payload, options) {
2472
- return BrowserApiFp(this.configuration).guiClick(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2389
+ guiTypeXy(browserId, payload, options) {
2390
+ return BrowserApiFp(this.configuration).guiTypeXy(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2473
2391
  }
2474
2392
  /**
2475
2393
  *
2476
- * @summary Execute history action: back, forward, or refresh
2477
- * @param {string} browserId Unique browser identifier
2394
+ * @summary History: back, forward, or refresh
2395
+ * @param {string} browserId
2478
2396
  * @param {HistoryRequest} payload
2479
2397
  * @param {*} [options] Override http request option.
2480
2398
  * @throws {RequiredError}
@@ -2484,17 +2402,8 @@ export class BrowserApi extends BaseAPI {
2484
2402
  }
2485
2403
  /**
2486
2404
  *
2487
- * @summary List all active browser instances
2488
- * @param {*} [options] Override http request option.
2489
- * @throws {RequiredError}
2490
- */
2491
- listBrowsers(options) {
2492
- return BrowserApiFp(this.configuration).listBrowsers(options).then((request) => request(this.axios, this.basePath));
2493
- }
2494
- /**
2495
- *
2496
- * @summary Mouse action: hover or drag
2497
- * @param {string} browserId Unique browser identifier
2405
+ * @summary Mouse: hover or drag
2406
+ * @param {string} browserId
2498
2407
  * @param {MouseRequest} payload
2499
2408
  * @param {*} [options] Override http request option.
2500
2409
  * @throws {RequiredError}
@@ -2504,9 +2413,9 @@ export class BrowserApi extends BaseAPI {
2504
2413
  }
2505
2414
  /**
2506
2415
  *
2507
- * @summary Navigate to a URL
2508
- * @param {string} browserId Unique browser identifier
2509
- * @param {NavigateRequest} payload
2416
+ * @summary Navigate to URL
2417
+ * @param {string} browserId
2418
+ * @param {NavigateBrowserRequest} payload
2510
2419
  * @param {*} [options] Override http request option.
2511
2420
  * @throws {RequiredError}
2512
2421
  */
@@ -2515,8 +2424,8 @@ export class BrowserApi extends BaseAPI {
2515
2424
  }
2516
2425
  /**
2517
2426
  *
2518
- * @summary Get or clear network logs
2519
- * @param {string} browserId Unique browser identifier
2427
+ * @summary Network logs: get or clear
2428
+ * @param {string} browserId
2520
2429
  * @param {NetworkLogsRequest} payload
2521
2430
  * @param {*} [options] Override http request option.
2522
2431
  * @throws {RequiredError}
@@ -2526,8 +2435,8 @@ export class BrowserApi extends BaseAPI {
2526
2435
  }
2527
2436
  /**
2528
2437
  *
2529
- * @summary Manage performance: start_trace, stop_trace, metrics, or analyze
2530
- * @param {string} browserId Unique browser identifier
2438
+ * @summary Performance: start_trace, stop_trace, metrics, analyze
2439
+ * @param {string} browserId
2531
2440
  * @param {PerformanceRequest} payload
2532
2441
  * @param {*} [options] Override http request option.
2533
2442
  * @throws {RequiredError}
@@ -2537,8 +2446,8 @@ export class BrowserApi extends BaseAPI {
2537
2446
  }
2538
2447
  /**
2539
2448
  *
2540
- * @summary Press keys on an element
2541
- * @param {string} browserId Unique browser identifier
2449
+ * @summary Press keyboard keys
2450
+ * @param {string} browserId
2542
2451
  * @param {PressKeysRequest} payload
2543
2452
  * @param {*} [options] Override http request option.
2544
2453
  * @throws {RequiredError}
@@ -2549,7 +2458,7 @@ export class BrowserApi extends BaseAPI {
2549
2458
  /**
2550
2459
  *
2551
2460
  * @summary Resize viewport
2552
- * @param {string} browserId Unique browser identifier
2461
+ * @param {string} browserId
2553
2462
  * @param {ResizeRequest} payload
2554
2463
  * @param {*} [options] Override http request option.
2555
2464
  * @throws {RequiredError}
@@ -2559,9 +2468,9 @@ export class BrowserApi extends BaseAPI {
2559
2468
  }
2560
2469
  /**
2561
2470
  *
2562
- * @summary Scroll to element/coordinates (absolute) or by delta (relative)
2563
- * @param {string} browserId Unique browser identifier
2564
- * @param {CombinedScrollRequest} payload
2471
+ * @summary Scroll to element/coords or by delta
2472
+ * @param {string} browserId
2473
+ * @param {ScrollRequest} payload
2565
2474
  * @param {*} [options] Override http request option.
2566
2475
  * @throws {RequiredError}
2567
2476
  */
@@ -2571,7 +2480,7 @@ export class BrowserApi extends BaseAPI {
2571
2480
  /**
2572
2481
  *
2573
2482
  * @summary Select dropdown: select option or get options
2574
- * @param {string} browserId Unique browser identifier
2483
+ * @param {string} browserId
2575
2484
  * @param {SelectRequest} payload
2576
2485
  * @param {*} [options] Override http request option.
2577
2486
  * @throws {RequiredError}
@@ -2581,41 +2490,42 @@ export class BrowserApi extends BaseAPI {
2581
2490
  }
2582
2491
  /**
2583
2492
  *
2584
- * @summary Manage browser tabs: list, new, switch, close, or current
2585
- * @param {string} browserId Unique browser identifier
2586
- * @param {TabsRequest} payload
2493
+ * @summary DOM or accessibility snapshot
2494
+ * @param {string} browserId
2495
+ * @param {SnapshotRequest} payload
2587
2496
  * @param {*} [options] Override http request option.
2588
2497
  * @throws {RequiredError}
2589
2498
  */
2590
- tabs(browserId, payload, options) {
2591
- return BrowserApiFp(this.configuration).tabs(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2499
+ snapshot(browserId, payload, options) {
2500
+ return BrowserApiFp(this.configuration).snapshot(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2592
2501
  }
2593
2502
  /**
2594
2503
  *
2595
- * @summary Take a screenshot
2596
- * @param {string} browserId Unique browser identifier
2504
+ * @summary Tabs: list, new, switch, close, current
2505
+ * @param {string} browserId
2506
+ * @param {TabsRequest} payload
2597
2507
  * @param {*} [options] Override http request option.
2598
2508
  * @throws {RequiredError}
2599
2509
  */
2600
- takeScreenshot(browserId, options) {
2601
- return BrowserApiFp(this.configuration).takeScreenshot(browserId, options).then((request) => request(this.axios, this.basePath));
2510
+ tabs(browserId, payload, options) {
2511
+ return BrowserApiFp(this.configuration).tabs(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2602
2512
  }
2603
2513
  /**
2604
2514
  *
2605
- * @summary Take DOM/accessibility snapshot
2606
- * @param {string} browserId Unique browser identifier
2607
- * @param {SnapshotRequest} payload
2515
+ * @summary Take screenshot
2516
+ * @param {string} browserId
2517
+ * @param {TakeScreenshotRequest} payload
2608
2518
  * @param {*} [options] Override http request option.
2609
2519
  * @throws {RequiredError}
2610
2520
  */
2611
- takeSnapshot(browserId, payload, options) {
2612
- return BrowserApiFp(this.configuration).takeSnapshot(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2521
+ takeScreenshot(browserId, payload, options) {
2522
+ return BrowserApiFp(this.configuration).takeScreenshot(browserId, payload, options).then((request) => request(this.axios, this.basePath));
2613
2523
  }
2614
2524
  /**
2615
2525
  *
2616
- * @summary Type text into an element
2617
- * @param {string} browserId Unique browser identifier
2618
- * @param {TypeRequest} payload
2526
+ * @summary Type text into element
2527
+ * @param {string} browserId
2528
+ * @param {TypeTextRequest} payload
2619
2529
  * @param {*} [options] Override http request option.
2620
2530
  * @throws {RequiredError}
2621
2531
  */
@@ -2624,8 +2534,8 @@ export class BrowserApi extends BaseAPI {
2624
2534
  }
2625
2535
  /**
2626
2536
  *
2627
- * @summary Upload a file
2628
- * @param {string} browserId Unique browser identifier
2537
+ * @summary Upload file to input
2538
+ * @param {string} browserId
2629
2539
  * @param {UploadFileRequest} payload
2630
2540
  * @param {*} [options] Override http request option.
2631
2541
  * @throws {RequiredError}
@@ -2635,8 +2545,8 @@ export class BrowserApi extends BaseAPI {
2635
2545
  }
2636
2546
  /**
2637
2547
  *
2638
- * @summary Wait for element to become visible or hidden
2639
- * @param {string} browserId Unique browser identifier
2548
+ * @summary Wait for element to be visible or hidden
2549
+ * @param {string} browserId
2640
2550
  * @param {WaitElementRequest} payload
2641
2551
  * @param {*} [options] Override http request option.
2642
2552
  * @throws {RequiredError}
@@ -2646,8 +2556,8 @@ export class BrowserApi extends BaseAPI {
2646
2556
  }
2647
2557
  /**
2648
2558
  *
2649
- * @summary Analyze visible page content using AI
2650
- * @param {string} browserId Unique browser identifier
2559
+ * @summary AI page analysis - what\'s visible
2560
+ * @param {string} browserId
2651
2561
  * @param {*} [options] Override http request option.
2652
2562
  * @throws {RequiredError}
2653
2563
  */