airbrowser-client 1.13.1 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -0
- package/README.md +11 -5
- package/api.ts +867 -464
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +383 -35
- package/dist/api.js +150 -24
- package/dist/esm/api.d.ts +383 -35
- package/dist/esm/api.js +149 -23
- package/docs/BrowserApi.md +72 -12
- package/docs/DetectCoordinatesData.md +48 -0
- package/docs/DetectCoordinatesRequest.md +15 -3
- package/docs/DetectCoordinatesResult.md +24 -0
- package/docs/GuiClickData.md +44 -0
- package/docs/GuiClickRequest.md +22 -6
- package/docs/GuiClickResult.md +24 -0
- package/docs/GuiClickXYRequest.md +40 -0
- package/docs/HealthApi.md +0 -1
- package/docs/PoolApi.md +0 -1
- package/docs/ProfilesApi.md +0 -1
- package/docs/WhatIsVisibleRequest.md +22 -0
- package/index.ts +1 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -14,7 +14,9 @@ docs/ConsoleLogsRequest.md
|
|
|
14
14
|
docs/CookiesRequest.md
|
|
15
15
|
docs/CreateBrowserRequest.md
|
|
16
16
|
docs/CreateProfileRequest.md
|
|
17
|
+
docs/DetectCoordinatesData.md
|
|
17
18
|
docs/DetectCoordinatesRequest.md
|
|
19
|
+
docs/DetectCoordinatesResult.md
|
|
18
20
|
docs/DialogRequest.md
|
|
19
21
|
docs/EmulateRequest.md
|
|
20
22
|
docs/ErrorResponse.md
|
|
@@ -22,7 +24,10 @@ docs/ExecuteCdpRequest.md
|
|
|
22
24
|
docs/ExecuteScriptRequest.md
|
|
23
25
|
docs/FillFormRequest.md
|
|
24
26
|
docs/GenericResponse.md
|
|
27
|
+
docs/GuiClickData.md
|
|
25
28
|
docs/GuiClickRequest.md
|
|
29
|
+
docs/GuiClickResult.md
|
|
30
|
+
docs/GuiClickXYRequest.md
|
|
26
31
|
docs/GuiHoverXyRequest.md
|
|
27
32
|
docs/GuiPressKeysXyRequest.md
|
|
28
33
|
docs/GuiTypeXyRequest.md
|
|
@@ -52,6 +57,7 @@ docs/TakeScreenshotRequest.md
|
|
|
52
57
|
docs/TypeTextRequest.md
|
|
53
58
|
docs/UploadFileRequest.md
|
|
54
59
|
docs/WaitElementRequest.md
|
|
60
|
+
docs/WhatIsVisibleRequest.md
|
|
55
61
|
git_push.sh
|
|
56
62
|
index.ts
|
|
57
63
|
package.json
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## airbrowser-client@1.
|
|
1
|
+
## airbrowser-client@1.14.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install airbrowser-client@1.
|
|
39
|
+
npm install airbrowser-client@1.14.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -58,7 +58,7 @@ Class | Method | HTTP request | Description
|
|
|
58
58
|
*BrowserApi* | [**consoleLogs**](docs/BrowserApi.md#consolelogs) | **POST** /browser/{browser_id}/console_logs | Console logs: get or clear
|
|
59
59
|
*BrowserApi* | [**cookies**](docs/BrowserApi.md#cookies) | **POST** /browser/{browser_id}/cookies | Manage browser cookies
|
|
60
60
|
*BrowserApi* | [**createBrowser**](docs/BrowserApi.md#createbrowser) | **POST** /browser/create_browser | Create browser instance with optional persistent profile
|
|
61
|
-
*BrowserApi* | [**detectCoordinates**](docs/BrowserApi.md#detectcoordinates) | **POST** /browser/{browser_id}/detect_coordinates | Detect element coordinates using vision
|
|
61
|
+
*BrowserApi* | [**detectCoordinates**](docs/BrowserApi.md#detectcoordinates) | **POST** /browser/{browser_id}/detect_coordinates | Detect element coordinates using vision with optional smart targeting
|
|
62
62
|
*BrowserApi* | [**dialog**](docs/BrowserApi.md#dialog) | **POST** /browser/{browser_id}/dialog | Dialogs: get, accept, dismiss
|
|
63
63
|
*BrowserApi* | [**emulate**](docs/BrowserApi.md#emulate) | **POST** /browser/{browser_id}/emulate | Emulation: set, clear, list_devices
|
|
64
64
|
*BrowserApi* | [**executeCdp**](docs/BrowserApi.md#executecdp) | **POST** /browser/{browser_id}/execute_cdp | Execute a Chrome DevTools Protocol command
|
|
@@ -68,7 +68,8 @@ Class | Method | HTTP request | Description
|
|
|
68
68
|
*BrowserApi* | [**getContent**](docs/BrowserApi.md#getcontent) | **GET** /browser/{browser_id}/get_content | Get page HTML
|
|
69
69
|
*BrowserApi* | [**getElementData**](docs/BrowserApi.md#getelementdata) | **GET** /browser/{browser_id}/get_element_data | Get element text, attribute, or property
|
|
70
70
|
*BrowserApi* | [**getUrl**](docs/BrowserApi.md#geturl) | **GET** /browser/{browser_id}/get_url | Get current URL
|
|
71
|
-
*BrowserApi* | [**guiClick**](docs/BrowserApi.md#guiclick) | **POST** /browser/{browser_id}/gui_click | GUI click by selector or coordinates
|
|
71
|
+
*BrowserApi* | [**guiClick**](docs/BrowserApi.md#guiclick) | **POST** /browser/{browser_id}/gui_click | GUI click by selector or coordinates with smart validation
|
|
72
|
+
*BrowserApi* | [**guiClickXy**](docs/BrowserApi.md#guiclickxy) | **POST** /browser/{browser_id}/gui_click_xy | MCP compatibility alias for coordinate-mode `gui_click`
|
|
72
73
|
*BrowserApi* | [**guiHoverXy**](docs/BrowserApi.md#guihoverxy) | **POST** /browser/{browser_id}/gui_hover_xy | GUI hover at coordinates
|
|
73
74
|
*BrowserApi* | [**guiPressKeysXy**](docs/BrowserApi.md#guipresskeysxy) | **POST** /browser/{browser_id}/gui_press_keys_xy | Press keys at coordinates (click to focus, then send keys)
|
|
74
75
|
*BrowserApi* | [**guiTypeXy**](docs/BrowserApi.md#guitypexy) | **POST** /browser/{browser_id}/gui_type_xy | GUI type at coordinates - clicks then types text
|
|
@@ -107,7 +108,9 @@ Class | Method | HTTP request | Description
|
|
|
107
108
|
- [CookiesRequest](docs/CookiesRequest.md)
|
|
108
109
|
- [CreateBrowserRequest](docs/CreateBrowserRequest.md)
|
|
109
110
|
- [CreateProfileRequest](docs/CreateProfileRequest.md)
|
|
111
|
+
- [DetectCoordinatesData](docs/DetectCoordinatesData.md)
|
|
110
112
|
- [DetectCoordinatesRequest](docs/DetectCoordinatesRequest.md)
|
|
113
|
+
- [DetectCoordinatesResult](docs/DetectCoordinatesResult.md)
|
|
111
114
|
- [DialogRequest](docs/DialogRequest.md)
|
|
112
115
|
- [EmulateRequest](docs/EmulateRequest.md)
|
|
113
116
|
- [ErrorResponse](docs/ErrorResponse.md)
|
|
@@ -115,7 +118,10 @@ Class | Method | HTTP request | Description
|
|
|
115
118
|
- [ExecuteScriptRequest](docs/ExecuteScriptRequest.md)
|
|
116
119
|
- [FillFormRequest](docs/FillFormRequest.md)
|
|
117
120
|
- [GenericResponse](docs/GenericResponse.md)
|
|
121
|
+
- [GuiClickData](docs/GuiClickData.md)
|
|
118
122
|
- [GuiClickRequest](docs/GuiClickRequest.md)
|
|
123
|
+
- [GuiClickResult](docs/GuiClickResult.md)
|
|
124
|
+
- [GuiClickXYRequest](docs/GuiClickXYRequest.md)
|
|
119
125
|
- [GuiHoverXyRequest](docs/GuiHoverXyRequest.md)
|
|
120
126
|
- [GuiPressKeysXyRequest](docs/GuiPressKeysXyRequest.md)
|
|
121
127
|
- [GuiTypeXyRequest](docs/GuiTypeXyRequest.md)
|
|
@@ -142,10 +148,10 @@ Class | Method | HTTP request | Description
|
|
|
142
148
|
- [TypeTextRequest](docs/TypeTextRequest.md)
|
|
143
149
|
- [UploadFileRequest](docs/UploadFileRequest.md)
|
|
144
150
|
- [WaitElementRequest](docs/WaitElementRequest.md)
|
|
151
|
+
- [WhatIsVisibleRequest](docs/WhatIsVisibleRequest.md)
|
|
145
152
|
|
|
146
153
|
|
|
147
154
|
<a id="documentation-for-authorization"></a>
|
|
148
155
|
## Documentation For Authorization
|
|
149
156
|
|
|
150
157
|
Endpoints do not require authorization.
|
|
151
|
-
|