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
@@ -1,19 +1,19 @@
1
- # UrlData
1
+ # BrowsersRequest
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **url** | **string** | Current URL | [optional] [default to undefined]
8
+ **action** | **string** | action | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { UrlData } from 'airbrowser-client';
13
+ import { BrowsersRequest } from 'airbrowser-client';
14
14
 
15
- const instance: UrlData = {
16
- url,
15
+ const instance: BrowsersRequest = {
16
+ action,
17
17
  };
18
18
  ```
19
19
 
@@ -5,10 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **selector** | **string** | Element selector | [default to undefined]
9
- **by** | **string** | Selector type: css, id, name, xpath | [optional] [default to 'css']
10
- **timeout** | **number** | Timeout in seconds | [optional] [default to undefined]
11
- **if_visible** | **boolean** | Only click if element is visible | [optional] [default to false]
8
+ **selector** | **string** | selector | [default to undefined]
9
+ **timeout** | **number** | timeout | [optional] [default to undefined]
10
+ **by** | **string** | by | [optional] [default to 'css']
11
+ **if_visible** | **boolean** | if_visible | [optional] [default to false]
12
12
 
13
13
  ## Example
14
14
 
@@ -17,8 +17,8 @@ import { ClickRequest } from 'airbrowser-client';
17
17
 
18
18
  const instance: ClickRequest = {
19
19
  selector,
20
- by,
21
20
  timeout,
21
+ by,
22
22
  if_visible,
23
23
  };
24
24
  ```
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **action** | **string** | Action: get or clear | [default to undefined]
9
- **limit** | **number** | Max number of logs to return (for get) | [optional] [default to undefined]
8
+ **action** | **string** | action | [default to undefined]
9
+ **limit** | **number** | limit | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -0,0 +1,38 @@
1
+ # CreateBrowserRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **uc** | **boolean** | uc | [optional] [default to true]
9
+ **proxy** | **string** | proxy | [optional] [default to undefined]
10
+ **window_size** | **Array<number>** | window_size | [optional] [default to undefined]
11
+ **user_agent** | **string** | user_agent | [optional] [default to undefined]
12
+ **disable_gpu** | **boolean** | disable_gpu | [optional] [default to false]
13
+ **disable_images** | **boolean** | disable_images | [optional] [default to false]
14
+ **disable_javascript** | **boolean** | disable_javascript | [optional] [default to false]
15
+ **extensions** | **Array<string>** | extensions | [optional] [default to undefined]
16
+ **custom_args** | **Array<string>** | custom_args | [optional] [default to undefined]
17
+ **profile_name** | **string** | profile_name | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { CreateBrowserRequest } from 'airbrowser-client';
23
+
24
+ const instance: CreateBrowserRequest = {
25
+ uc,
26
+ proxy,
27
+ window_size,
28
+ user_agent,
29
+ disable_gpu,
30
+ disable_images,
31
+ disable_javascript,
32
+ extensions,
33
+ custom_args,
34
+ profile_name,
35
+ };
36
+ ```
37
+
38
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,7 +5,9 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **prompt** | **string** | Natural language description of element to find | [default to undefined]
8
+ **prompt** | **string** | prompt | [default to undefined]
9
+ **fx** | **number** | fx | [optional] [default to undefined]
10
+ **fy** | **number** | fy | [optional] [default to undefined]
9
11
 
10
12
  ## Example
11
13
 
@@ -14,6 +16,8 @@ import { DetectCoordinatesRequest } from 'airbrowser-client';
14
16
 
15
17
  const instance: DetectCoordinatesRequest = {
16
18
  prompt,
19
+ fx,
20
+ fy,
17
21
  };
18
22
  ```
19
23
 
@@ -1,21 +1,21 @@
1
- # FormField
1
+ # DialogRequest
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **selector** | **string** | Field selector | [default to undefined]
9
- **value** | **string** | Value to fill | [default to undefined]
8
+ **action** | **string** | action | [default to undefined]
9
+ **text** | **string** | text | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { FormField } from 'airbrowser-client';
14
+ import { DialogRequest } from 'airbrowser-client';
15
15
 
16
- const instance: FormField = {
17
- selector,
18
- value,
16
+ const instance: DialogRequest = {
17
+ action,
18
+ text,
19
19
  };
20
20
  ```
21
21
 
@@ -0,0 +1,32 @@
1
+ # EmulateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **action** | **string** | action | [optional] [default to 'set']
9
+ **device** | **string** | device | [optional] [default to undefined]
10
+ **width** | **number** | width | [optional] [default to undefined]
11
+ **height** | **number** | height | [optional] [default to undefined]
12
+ **device_scale_factor** | **number** | device_scale_factor | [optional] [default to undefined]
13
+ **mobile** | **boolean** | mobile | [optional] [default to undefined]
14
+ **user_agent** | **string** | user_agent | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { EmulateRequest } from 'airbrowser-client';
20
+
21
+ const instance: EmulateRequest = {
22
+ action,
23
+ device,
24
+ width,
25
+ height,
26
+ device_scale_factor,
27
+ mobile,
28
+ user_agent,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,19 +1,19 @@
1
- # ExecuteData
1
+ # ExecuteScriptRequest
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **result** | **object** | Script execution result | [optional] [default to undefined]
8
+ **script** | **string** | script | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { ExecuteData } from 'airbrowser-client';
13
+ import { ExecuteScriptRequest } from 'airbrowser-client';
14
14
 
15
- const instance: ExecuteData = {
16
- result,
15
+ const instance: ExecuteScriptRequest = {
16
+ script,
17
17
  };
18
18
  ```
19
19
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **fields** | [**Array<FormField>**](FormField.md) | Fields to fill | [default to undefined]
9
- **by** | **string** | Selector type (css, id, name, xpath) | [optional] [default to 'css']
8
+ **fields** | **Array<object>** | fields | [default to undefined]
9
+ **by** | **string** | by | [optional] [default to 'css']
10
10
 
11
11
  ## Example
12
12
 
@@ -0,0 +1,24 @@
1
+ # GenericResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **success** | **boolean** | Whether the operation succeeded | [optional] [default to undefined]
9
+ **message** | **string** | Response message | [optional] [default to undefined]
10
+ **data** | **object** | Response data | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GenericResponse } from 'airbrowser-client';
16
+
17
+ const instance: GenericResponse = {
18
+ success,
19
+ message,
20
+ data,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # GuiClickRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **selector** | **string** | selector | [optional] [default to undefined]
9
+ **x** | **number** | x | [optional] [default to undefined]
10
+ **y** | **number** | y | [optional] [default to undefined]
11
+ **timeframe** | **number** | timeframe | [optional] [default to undefined]
12
+ **fx** | **number** | fx | [optional] [default to undefined]
13
+ **fy** | **number** | fy | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { GuiClickRequest } from 'airbrowser-client';
19
+
20
+ const instance: GuiClickRequest = {
21
+ selector,
22
+ x,
23
+ y,
24
+ timeframe,
25
+ fx,
26
+ fy,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # GuiHoverXyRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **x** | **number** | x | [default to undefined]
9
+ **y** | **number** | y | [default to undefined]
10
+ **timeframe** | **number** | timeframe | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GuiHoverXyRequest } from 'airbrowser-client';
16
+
17
+ const instance: GuiHoverXyRequest = {
18
+ x,
19
+ y,
20
+ timeframe,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # GuiPressKeysXyRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **x** | **number** | x | [default to undefined]
9
+ **y** | **number** | y | [default to undefined]
10
+ **keys** | **string** | keys | [default to undefined]
11
+ **timeframe** | **number** | timeframe | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GuiPressKeysXyRequest } from 'airbrowser-client';
17
+
18
+ const instance: GuiPressKeysXyRequest = {
19
+ x,
20
+ y,
21
+ keys,
22
+ timeframe,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # GuiTypeXyRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **x** | **number** | x | [default to undefined]
9
+ **y** | **number** | y | [default to undefined]
10
+ **text** | **string** | text | [default to undefined]
11
+ **timeframe** | **number** | timeframe | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GuiTypeXyRequest } from 'airbrowser-client';
17
+
18
+ const instance: GuiTypeXyRequest = {
19
+ x,
20
+ y,
21
+ text,
22
+ timeframe,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **action** | **string** | History action: back, forward, or refresh | [default to undefined]
8
+ **action** | **string** | action | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **action** | **string** | Action: hover or drag | [default to undefined]
9
- **selector** | **string** | Element selector (for hover) | [optional] [default to undefined]
10
- **source** | **string** | Source selector (for drag) | [optional] [default to undefined]
11
- **target** | **string** | Target selector (for drag) | [optional] [default to undefined]
12
- **by** | **string** | Selector type: css, id, name, xpath | [optional] [default to 'css']
8
+ **action** | **string** | action | [default to undefined]
9
+ **selector** | **string** | selector | [optional] [default to undefined]
10
+ **source** | **string** | source | [optional] [default to undefined]
11
+ **target** | **string** | target | [optional] [default to undefined]
12
+ **by** | **string** | by | [optional] [default to 'css']
13
13
 
14
14
  ## Example
15
15
 
@@ -1,19 +1,19 @@
1
- # NavigateRequest
1
+ # NavigateBrowserRequest
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **url** | **string** | URL to navigate to | [default to undefined]
9
- **timeout** | **number** | Navigation timeout in seconds | [optional] [default to undefined]
8
+ **url** | **string** | url | [default to undefined]
9
+ **timeout** | **number** | timeout | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { NavigateRequest } from 'airbrowser-client';
14
+ import { NavigateBrowserRequest } from 'airbrowser-client';
15
15
 
16
- const instance: NavigateRequest = {
16
+ const instance: NavigateBrowserRequest = {
17
17
  url,
18
18
  timeout,
19
19
  };
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **action** | **string** | Action: get or clear | [default to undefined]
9
- **limit** | **number** | Max number of logs to return (for get) | [optional] [default to undefined]
8
+ **action** | **string** | action | [default to undefined]
9
+ **limit** | **number** | limit | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **action** | **string** | Performance action: start_trace, stop_trace, metrics, or analyze | [default to undefined]
9
- **categories** | **string** | Comma-separated trace categories (for start_trace) | [optional] [default to undefined]
8
+ **action** | **string** | action | [default to undefined]
9
+ **categories** | **string** | categories | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -5,9 +5,9 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **selector** | **string** | Element selector | [default to undefined]
9
- **by** | **string** | Selector type: css, id, name, xpath | [optional] [default to 'css']
10
- **keys** | **string** | Keys to press | [default to undefined]
8
+ **selector** | **string** | selector | [default to undefined]
9
+ **keys** | **string** | keys | [default to undefined]
10
+ **by** | **string** | by | [optional] [default to 'css']
11
11
 
12
12
  ## Example
13
13
 
@@ -16,8 +16,8 @@ import { PressKeysRequest } from 'airbrowser-client';
16
16
 
17
17
  const instance: PressKeysRequest = {
18
18
  selector,
19
- by,
20
19
  keys,
20
+ by,
21
21
  };
22
22
  ```
23
23
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **width** | **number** | Viewport width | [default to undefined]
9
- **height** | **number** | Viewport height | [default to undefined]
8
+ **width** | **number** | width | [default to undefined]
9
+ **height** | **number** | height | [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -0,0 +1,32 @@
1
+ # ScrollRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **selector** | **string** | selector | [optional] [default to undefined]
9
+ **x** | **number** | x | [optional] [default to undefined]
10
+ **y** | **number** | y | [optional] [default to undefined]
11
+ **delta_x** | **number** | delta_x | [optional] [default to undefined]
12
+ **delta_y** | **number** | delta_y | [optional] [default to undefined]
13
+ **behavior** | **string** | behavior | [optional] [default to 'smooth']
14
+ **by** | **string** | by | [optional] [default to 'css']
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ScrollRequest } from 'airbrowser-client';
20
+
21
+ const instance: ScrollRequest = {
22
+ selector,
23
+ x,
24
+ y,
25
+ delta_x,
26
+ delta_y,
27
+ behavior,
28
+ by,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,12 +5,12 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **selector** | **string** | Select element selector | [default to undefined]
9
- **by** | **string** | Selector type (css, id, name, xpath) | [optional] [default to 'css']
10
- **action** | **string** | Action: select or options | [optional] [default to ActionEnum_Select]
11
- **value** | **string** | Option value to select | [optional] [default to undefined]
12
- **text** | **string** | Option text to select | [optional] [default to undefined]
13
- **index** | **number** | Option index to select | [optional] [default to undefined]
8
+ **selector** | **string** | selector | [default to undefined]
9
+ **action** | **string** | action | [optional] [default to 'select']
10
+ **value** | **string** | value | [optional] [default to undefined]
11
+ **text** | **string** | text | [optional] [default to undefined]
12
+ **index** | **number** | index | [optional] [default to undefined]
13
+ **by** | **string** | by | [optional] [default to 'css']
14
14
 
15
15
  ## Example
16
16
 
@@ -19,11 +19,11 @@ import { SelectRequest } from 'airbrowser-client';
19
19
 
20
20
  const instance: SelectRequest = {
21
21
  selector,
22
- by,
23
22
  action,
24
23
  value,
25
24
  text,
26
25
  index,
26
+ by,
27
27
  };
28
28
  ```
29
29
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **type** | **string** | Snapshot type: dom or accessibility | [optional] [default to 'dom']
8
+ **snapshot_type** | **string** | snapshot_type | [optional] [default to 'dom']
9
9
 
10
10
  ## Example
11
11
 
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  import { SnapshotRequest } from 'airbrowser-client';
14
14
 
15
15
  const instance: SnapshotRequest = {
16
- type,
16
+ snapshot_type,
17
17
  };
18
18
  ```
19
19
 
@@ -5,10 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **action** | **string** | Tab action: list, new, switch, close, or current | [default to undefined]
9
- **url** | **string** | URL for new tab (for \'new\' action) | [optional] [default to undefined]
10
- **index** | **number** | Tab index (for \'switch\' or \'close\' actions) | [optional] [default to undefined]
11
- **handle** | **string** | Tab handle (for \'switch\' or \'close\' actions) | [optional] [default to undefined]
8
+ **action** | **string** | action | [default to undefined]
9
+ **url** | **string** | url | [optional] [default to undefined]
10
+ **index** | **number** | index | [optional] [default to undefined]
11
+ **handle** | **string** | handle | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -0,0 +1,20 @@
1
+ # TakeScreenshotRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **full_page** | **boolean** | full_page | [optional] [default to false]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { TakeScreenshotRequest } from 'airbrowser-client';
14
+
15
+ const instance: TakeScreenshotRequest = {
16
+ full_page,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # TypeTextRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **selector** | **string** | selector | [default to undefined]
9
+ **text** | **string** | text | [default to undefined]
10
+ **timeout** | **number** | timeout | [optional] [default to undefined]
11
+ **by** | **string** | by | [optional] [default to 'css']
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { TypeTextRequest } from 'airbrowser-client';
17
+
18
+ const instance: TypeTextRequest = {
19
+ selector,
20
+ text,
21
+ timeout,
22
+ by,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,9 +5,9 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **selector** | **string** | File input selector | [default to undefined]
9
- **file_path** | **string** | Path to file to upload | [default to undefined]
10
- **by** | **string** | Selector type (css, id, name, xpath) | [optional] [default to 'css']
8
+ **selector** | **string** | selector | [default to undefined]
9
+ **file_path** | **string** | file_path | [default to undefined]
10
+ **by** | **string** | by | [optional] [default to 'css']
11
11
 
12
12
  ## Example
13
13
 
@@ -5,10 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **selector** | **string** | Element selector | [default to undefined]
9
- **by** | **string** | Selector type (css, id, name, xpath) | [optional] [default to 'css']
10
- **until** | **string** | Wait until: visible or hidden | [default to undefined]
11
- **timeout** | **number** | Timeout in seconds | [optional] [default to undefined]
8
+ **selector** | **string** | selector | [default to undefined]
9
+ **until** | **string** | until | [default to undefined]
10
+ **timeout** | **number** | timeout | [optional] [default to undefined]
11
+ **by** | **string** | by | [optional] [default to 'css']
12
12
 
13
13
  ## Example
14
14
 
@@ -17,9 +17,9 @@ import { WaitElementRequest } from 'airbrowser-client';
17
17
 
18
18
  const instance: WaitElementRequest = {
19
19
  selector,
20
- by,
21
20
  until,
22
21
  timeout,
22
+ by,
23
23
  };
24
24
  ```
25
25