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.
- package/.openapi-generator/FILES +14 -31
- package/README.md +46 -65
- package/api.ts +807 -1256
- package/dist/api.d.ts +666 -1064
- package/dist/api.js +546 -636
- package/dist/esm/api.d.ts +666 -1064
- package/dist/esm/api.js +545 -635
- package/docs/BrowserApi.md +288 -340
- package/docs/{UrlData.md → BrowsersRequest.md} +5 -5
- package/docs/ClickRequest.md +5 -5
- package/docs/ConsoleLogsRequest.md +2 -2
- package/docs/CreateBrowserRequest.md +38 -0
- package/docs/DetectCoordinatesRequest.md +5 -1
- package/docs/{FormField.md → DialogRequest.md} +7 -7
- package/docs/EmulateRequest.md +32 -0
- package/docs/{ExecuteData.md → ExecuteScriptRequest.md} +5 -5
- package/docs/FillFormRequest.md +2 -2
- package/docs/GenericResponse.md +24 -0
- package/docs/GuiClickRequest.md +30 -0
- package/docs/GuiHoverXyRequest.md +24 -0
- package/docs/GuiPressKeysXyRequest.md +26 -0
- package/docs/GuiTypeXyRequest.md +26 -0
- package/docs/HistoryRequest.md +1 -1
- package/docs/MouseRequest.md +5 -5
- package/docs/{NavigateRequest.md → NavigateBrowserRequest.md} +5 -5
- package/docs/NetworkLogsRequest.md +2 -2
- package/docs/PerformanceRequest.md +2 -2
- package/docs/PressKeysRequest.md +4 -4
- package/docs/ResizeRequest.md +2 -2
- package/docs/ScrollRequest.md +32 -0
- package/docs/SelectRequest.md +7 -7
- package/docs/SnapshotRequest.md +2 -2
- package/docs/TabsRequest.md +4 -4
- package/docs/TakeScreenshotRequest.md +20 -0
- package/docs/TypeTextRequest.md +26 -0
- package/docs/UploadFileRequest.md +3 -3
- package/docs/WaitElementRequest.md +5 -5
- package/package.json +1 -1
- package/docs/ActionResult.md +0 -26
- package/docs/AttributeResponse.md +0 -26
- package/docs/BrowserConfig.md +0 -36
- package/docs/BrowserCreated.md +0 -26
- package/docs/BrowserCreationData.md +0 -22
- package/docs/BrowserInfoResponse.md +0 -26
- package/docs/BrowserList.md +0 -26
- package/docs/BrowserListData.md +0 -22
- package/docs/CheckElementRequest.md +0 -24
- package/docs/CombinedDialogRequest.md +0 -22
- package/docs/CombinedEmulateRequest.md +0 -32
- package/docs/CombinedGuiClickRequest.md +0 -30
- package/docs/CombinedScrollRequest.md +0 -32
- package/docs/ContentData.md +0 -24
- package/docs/ContentResponse.md +0 -26
- package/docs/DetectCoordinatesResult.md +0 -44
- package/docs/ElementDataRequest.md +0 -26
- package/docs/ExecuteRequest.md +0 -22
- package/docs/ExecuteResponse.md +0 -26
- package/docs/LogsResponse.md +0 -26
- package/docs/PoolStatusResponse.md +0 -26
- package/docs/ScreenshotData.md +0 -22
- package/docs/ScreenshotResponse.md +0 -26
- package/docs/SuccessResponse.md +0 -26
- package/docs/TypeRequest.md +0 -26
- package/docs/UrlResponse.md +0 -26
- package/docs/WhatIsVisibleResult.md +0 -34
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# BrowsersRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**action** | **string** | action | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { BrowsersRequest } from 'airbrowser-client';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
16
|
-
|
|
15
|
+
const instance: BrowsersRequest = {
|
|
16
|
+
action,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
19
19
|
|
package/docs/ClickRequest.md
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**selector** | **string** |
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**if_visible** | **boolean** |
|
|
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** |
|
|
9
|
-
**limit** | **number** |
|
|
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** |
|
|
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
|
-
#
|
|
1
|
+
# DialogRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
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 {
|
|
14
|
+
import { DialogRequest } from 'airbrowser-client';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
#
|
|
1
|
+
# ExecuteScriptRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**script** | **string** | script | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { ExecuteScriptRequest } from 'airbrowser-client';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
16
|
-
|
|
15
|
+
const instance: ExecuteScriptRequest = {
|
|
16
|
+
script,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
19
19
|
|
package/docs/FillFormRequest.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**fields** |
|
|
9
|
-
**by** | **string** |
|
|
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)
|
package/docs/HistoryRequest.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**action** | **string** |
|
|
8
|
+
**action** | **string** | action | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
package/docs/MouseRequest.md
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**action** | **string** |
|
|
9
|
-
**selector** | **string** |
|
|
10
|
-
**source** | **string** |
|
|
11
|
-
**target** | **string** |
|
|
12
|
-
**by** | **string** |
|
|
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
|
-
#
|
|
1
|
+
# NavigateBrowserRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**url** | **string** |
|
|
9
|
-
**timeout** | **number** |
|
|
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 {
|
|
14
|
+
import { NavigateBrowserRequest } from 'airbrowser-client';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
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** |
|
|
9
|
-
**limit** | **number** |
|
|
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** |
|
|
9
|
-
**categories** | **string** |
|
|
8
|
+
**action** | **string** | action | [default to undefined]
|
|
9
|
+
**categories** | **string** | categories | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
package/docs/PressKeysRequest.md
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**selector** | **string** |
|
|
9
|
-
**
|
|
10
|
-
**
|
|
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
|
|
package/docs/ResizeRequest.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**width** | **number** |
|
|
9
|
-
**height** | **number** |
|
|
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)
|
package/docs/SelectRequest.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**selector** | **string** |
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
-
**
|
|
13
|
-
**
|
|
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
|
|
package/docs/SnapshotRequest.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
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
|
-
|
|
16
|
+
snapshot_type,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
19
19
|
|
package/docs/TabsRequest.md
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**action** | **string** |
|
|
9
|
-
**url** | **string** |
|
|
10
|
-
**index** | **number** |
|
|
11
|
-
**handle** | **string** |
|
|
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** |
|
|
9
|
-
**file_path** | **string** |
|
|
10
|
-
**by** | **string** |
|
|
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** |
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
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
|
|