scordi-extension 1.14.8 → 1.14.10
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/dist/blocks/ClearValueFormBlock.d.ts +8 -8
- package/dist/blocks/DataExtractBlock.d.ts +2 -2
- package/dist/blocks/ElementExistsBlock.d.ts +8 -8
- package/dist/blocks/EventClickBlock.d.ts +8 -8
- package/dist/blocks/GetAttributeValueBlock.d.ts +8 -8
- package/dist/blocks/GetElementDataBlock.d.ts +8 -8
- package/dist/blocks/GetTextBlock.d.ts +8 -8
- package/dist/blocks/GetValueFormBlock.d.ts +8 -8
- package/dist/blocks/NavigateBlock.d.ts +36 -0
- package/dist/blocks/NavigateBlock.d.ts.map +1 -0
- package/dist/blocks/SaveAssetsBlock.d.ts +8 -8
- package/dist/blocks/ScrollBlock.d.ts +8 -8
- package/dist/blocks/SetValueFormBlock.d.ts +8 -8
- package/dist/blocks/index.d.ts +102 -82
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/types.d.ts +8 -25
- package/dist/blocks/types.d.ts.map +1 -1
- package/dist/manifest.json +1 -1
- package/dist/sdk/EightGClient.d.ts.map +1 -1
- package/dist/sdk/errors.d.ts +1 -1
- package/dist/sdk/errors.d.ts.map +1 -1
- package/dist/sdk/index.cjs +4 -4
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +4889 -3619
- package/dist/sdk/types.d.ts +3 -2
- package/dist/sdk/types.d.ts.map +1 -1
- package/dist/src/blocks/NavigateBlock.ts.js +48 -0
- package/dist/src/blocks/index.ts.js +8 -0
- package/dist/src/blocks/types.ts.js +0 -1
- package/dist/src/content/main.tsx.js +23 -11
- package/dist/vendor/vite-client.js +1 -1
- package/package.json +1 -1
|
@@ -12,36 +12,36 @@ export declare const ClearValueFormsBlockSchema: z.ZodObject<{
|
|
|
12
12
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
multiple?: boolean | undefined;
|
|
16
15
|
waitForSelector?: boolean | undefined;
|
|
17
16
|
waitSelectorTimeout?: number | undefined;
|
|
18
|
-
}, {
|
|
19
17
|
multiple?: boolean | undefined;
|
|
18
|
+
}, {
|
|
20
19
|
waitForSelector?: boolean | undefined;
|
|
21
20
|
waitSelectorTimeout?: number | undefined;
|
|
21
|
+
multiple?: boolean | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
} & {
|
|
24
24
|
name: z.ZodLiteral<"clear-value-form">;
|
|
25
25
|
type: z.ZodOptional<z.ZodEnum<["text-field", "select", "checkbox"]>>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
name: "clear-value-form";
|
|
27
28
|
selector: string;
|
|
29
|
+
findBy: "cssSelector" | "xpath";
|
|
28
30
|
option: {
|
|
29
|
-
multiple?: boolean | undefined;
|
|
30
31
|
waitForSelector?: boolean | undefined;
|
|
31
32
|
waitSelectorTimeout?: number | undefined;
|
|
33
|
+
multiple?: boolean | undefined;
|
|
32
34
|
};
|
|
33
|
-
name: "clear-value-form";
|
|
34
|
-
findBy: "cssSelector" | "xpath";
|
|
35
35
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
36
36
|
}, {
|
|
37
|
+
name: "clear-value-form";
|
|
37
38
|
selector: string;
|
|
39
|
+
findBy: "cssSelector" | "xpath";
|
|
38
40
|
option: {
|
|
39
|
-
multiple?: boolean | undefined;
|
|
40
41
|
waitForSelector?: boolean | undefined;
|
|
41
42
|
waitSelectorTimeout?: number | undefined;
|
|
43
|
+
multiple?: boolean | undefined;
|
|
42
44
|
};
|
|
43
|
-
name: "clear-value-form";
|
|
44
|
-
findBy: "cssSelector" | "xpath";
|
|
45
45
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
export declare function validateClearValueFormsBlock(data: unknown): ClearValueFormsBlock;
|
|
@@ -10,12 +10,12 @@ export declare const DataExtractBlockSchema: z.ZodObject<{
|
|
|
10
10
|
code: z.ZodString;
|
|
11
11
|
inputData: z.ZodOptional<z.ZodAny>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
code: string;
|
|
14
13
|
name: "data-extract";
|
|
14
|
+
code: string;
|
|
15
15
|
inputData?: any;
|
|
16
16
|
}, {
|
|
17
|
-
code: string;
|
|
18
17
|
name: "data-extract";
|
|
18
|
+
code: string;
|
|
19
19
|
inputData?: any;
|
|
20
20
|
}>;
|
|
21
21
|
export declare function validateDataExtractBlock(data: unknown): DataExtractBlock;
|
|
@@ -11,34 +11,34 @@ export declare const ElementExistsBlockSchema: z.ZodObject<{
|
|
|
11
11
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
multiple?: boolean | undefined;
|
|
15
14
|
waitForSelector?: boolean | undefined;
|
|
16
15
|
waitSelectorTimeout?: number | undefined;
|
|
17
|
-
}, {
|
|
18
16
|
multiple?: boolean | undefined;
|
|
17
|
+
}, {
|
|
19
18
|
waitForSelector?: boolean | undefined;
|
|
20
19
|
waitSelectorTimeout?: number | undefined;
|
|
20
|
+
multiple?: boolean | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
} & {
|
|
23
23
|
name: z.ZodLiteral<"element-exists">;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
name: "element-exists";
|
|
25
26
|
selector: string;
|
|
27
|
+
findBy: "cssSelector" | "xpath";
|
|
26
28
|
option: {
|
|
27
|
-
multiple?: boolean | undefined;
|
|
28
29
|
waitForSelector?: boolean | undefined;
|
|
29
30
|
waitSelectorTimeout?: number | undefined;
|
|
31
|
+
multiple?: boolean | undefined;
|
|
30
32
|
};
|
|
31
|
-
name: "element-exists";
|
|
32
|
-
findBy: "cssSelector" | "xpath";
|
|
33
33
|
}, {
|
|
34
|
+
name: "element-exists";
|
|
34
35
|
selector: string;
|
|
36
|
+
findBy: "cssSelector" | "xpath";
|
|
35
37
|
option: {
|
|
36
|
-
multiple?: boolean | undefined;
|
|
37
38
|
waitForSelector?: boolean | undefined;
|
|
38
39
|
waitSelectorTimeout?: number | undefined;
|
|
40
|
+
multiple?: boolean | undefined;
|
|
39
41
|
};
|
|
40
|
-
name: "element-exists";
|
|
41
|
-
findBy: "cssSelector" | "xpath";
|
|
42
42
|
}>;
|
|
43
43
|
export declare function validateElementExistsBlock(data: unknown): ElementExistsBlock;
|
|
44
44
|
export declare function handlerElementExists(data: ElementExistsBlock): Promise<BlockResult<boolean | null>>;
|
|
@@ -15,13 +15,13 @@ export declare const EventClickBlockSchema: z.ZodObject<{
|
|
|
15
15
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
16
16
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
multiple?: boolean | undefined;
|
|
19
18
|
waitForSelector?: boolean | undefined;
|
|
20
19
|
waitSelectorTimeout?: number | undefined;
|
|
21
|
-
}, {
|
|
22
20
|
multiple?: boolean | undefined;
|
|
21
|
+
}, {
|
|
23
22
|
waitForSelector?: boolean | undefined;
|
|
24
23
|
waitSelectorTimeout?: number | undefined;
|
|
24
|
+
multiple?: boolean | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
} & {
|
|
27
27
|
name: z.ZodLiteral<"event-click">;
|
|
@@ -36,27 +36,27 @@ export declare const EventClickBlockSchema: z.ZodObject<{
|
|
|
36
36
|
mode: "exact" | "regex" | "contains" | "startsWith" | "endsWith";
|
|
37
37
|
}>>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
name: "event-click";
|
|
39
40
|
selector: string;
|
|
41
|
+
findBy: "cssSelector" | "xpath";
|
|
40
42
|
option: {
|
|
41
|
-
multiple?: boolean | undefined;
|
|
42
43
|
waitForSelector?: boolean | undefined;
|
|
43
44
|
waitSelectorTimeout?: number | undefined;
|
|
45
|
+
multiple?: boolean | undefined;
|
|
44
46
|
};
|
|
45
|
-
name: "event-click";
|
|
46
|
-
findBy: "cssSelector" | "xpath";
|
|
47
47
|
textFilter?: {
|
|
48
48
|
text: string | string[];
|
|
49
49
|
mode: "exact" | "regex" | "contains" | "startsWith" | "endsWith";
|
|
50
50
|
} | undefined;
|
|
51
51
|
}, {
|
|
52
|
+
name: "event-click";
|
|
52
53
|
selector: string;
|
|
54
|
+
findBy: "cssSelector" | "xpath";
|
|
53
55
|
option: {
|
|
54
|
-
multiple?: boolean | undefined;
|
|
55
56
|
waitForSelector?: boolean | undefined;
|
|
56
57
|
waitSelectorTimeout?: number | undefined;
|
|
58
|
+
multiple?: boolean | undefined;
|
|
57
59
|
};
|
|
58
|
-
name: "event-click";
|
|
59
|
-
findBy: "cssSelector" | "xpath";
|
|
60
60
|
textFilter?: {
|
|
61
61
|
text: string | string[];
|
|
62
62
|
mode: "exact" | "regex" | "contains" | "startsWith" | "endsWith";
|
|
@@ -12,36 +12,36 @@ export declare const GetAttributeValueBlockSchema: z.ZodObject<{
|
|
|
12
12
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
multiple?: boolean | undefined;
|
|
16
15
|
waitForSelector?: boolean | undefined;
|
|
17
16
|
waitSelectorTimeout?: number | undefined;
|
|
18
|
-
}, {
|
|
19
17
|
multiple?: boolean | undefined;
|
|
18
|
+
}, {
|
|
20
19
|
waitForSelector?: boolean | undefined;
|
|
21
20
|
waitSelectorTimeout?: number | undefined;
|
|
21
|
+
multiple?: boolean | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
} & {
|
|
24
24
|
name: z.ZodLiteral<"attribute-value">;
|
|
25
25
|
attributeName: z.ZodString;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
name: "attribute-value";
|
|
27
28
|
selector: string;
|
|
29
|
+
findBy: "cssSelector" | "xpath";
|
|
28
30
|
option: {
|
|
29
|
-
multiple?: boolean | undefined;
|
|
30
31
|
waitForSelector?: boolean | undefined;
|
|
31
32
|
waitSelectorTimeout?: number | undefined;
|
|
33
|
+
multiple?: boolean | undefined;
|
|
32
34
|
};
|
|
33
|
-
name: "attribute-value";
|
|
34
|
-
findBy: "cssSelector" | "xpath";
|
|
35
35
|
attributeName: string;
|
|
36
36
|
}, {
|
|
37
|
+
name: "attribute-value";
|
|
37
38
|
selector: string;
|
|
39
|
+
findBy: "cssSelector" | "xpath";
|
|
38
40
|
option: {
|
|
39
|
-
multiple?: boolean | undefined;
|
|
40
41
|
waitForSelector?: boolean | undefined;
|
|
41
42
|
waitSelectorTimeout?: number | undefined;
|
|
43
|
+
multiple?: boolean | undefined;
|
|
42
44
|
};
|
|
43
|
-
name: "attribute-value";
|
|
44
|
-
findBy: "cssSelector" | "xpath";
|
|
45
45
|
attributeName: string;
|
|
46
46
|
}>;
|
|
47
47
|
export declare function validateGetAttributeValueBlock(data: unknown): GetAttributeValueBlock;
|
|
@@ -27,13 +27,13 @@ export declare const GetElementDataBlockSchema: z.ZodObject<{
|
|
|
27
27
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
28
28
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
multiple?: boolean | undefined;
|
|
31
30
|
waitForSelector?: boolean | undefined;
|
|
32
31
|
waitSelectorTimeout?: number | undefined;
|
|
33
|
-
}, {
|
|
34
32
|
multiple?: boolean | undefined;
|
|
33
|
+
}, {
|
|
35
34
|
waitForSelector?: boolean | undefined;
|
|
36
35
|
waitSelectorTimeout?: number | undefined;
|
|
36
|
+
multiple?: boolean | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
} & {
|
|
39
39
|
name: z.ZodLiteral<"get-element-data">;
|
|
@@ -47,14 +47,14 @@ export declare const GetElementDataBlockSchema: z.ZodObject<{
|
|
|
47
47
|
includeSelector: z.ZodOptional<z.ZodBoolean>;
|
|
48
48
|
includeXPath: z.ZodOptional<z.ZodBoolean>;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
name: "get-element-data";
|
|
50
51
|
selector: string;
|
|
52
|
+
findBy: "cssSelector" | "xpath";
|
|
51
53
|
option: {
|
|
52
|
-
multiple?: boolean | undefined;
|
|
53
54
|
waitForSelector?: boolean | undefined;
|
|
54
55
|
waitSelectorTimeout?: number | undefined;
|
|
56
|
+
multiple?: boolean | undefined;
|
|
55
57
|
};
|
|
56
|
-
name: "get-element-data";
|
|
57
|
-
findBy: "cssSelector" | "xpath";
|
|
58
58
|
includeTags?: boolean | undefined;
|
|
59
59
|
useTextContent?: boolean | undefined;
|
|
60
60
|
regex?: string | undefined;
|
|
@@ -65,14 +65,14 @@ export declare const GetElementDataBlockSchema: z.ZodObject<{
|
|
|
65
65
|
includeSelector?: boolean | undefined;
|
|
66
66
|
includeXPath?: boolean | undefined;
|
|
67
67
|
}, {
|
|
68
|
+
name: "get-element-data";
|
|
68
69
|
selector: string;
|
|
70
|
+
findBy: "cssSelector" | "xpath";
|
|
69
71
|
option: {
|
|
70
|
-
multiple?: boolean | undefined;
|
|
71
72
|
waitForSelector?: boolean | undefined;
|
|
72
73
|
waitSelectorTimeout?: number | undefined;
|
|
74
|
+
multiple?: boolean | undefined;
|
|
73
75
|
};
|
|
74
|
-
name: "get-element-data";
|
|
75
|
-
findBy: "cssSelector" | "xpath";
|
|
76
76
|
includeTags?: boolean | undefined;
|
|
77
77
|
useTextContent?: boolean | undefined;
|
|
78
78
|
regex?: string | undefined;
|
|
@@ -21,13 +21,13 @@ export declare const GetTextBlockSchema: z.ZodObject<{
|
|
|
21
21
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
22
22
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
multiple?: boolean | undefined;
|
|
25
24
|
waitForSelector?: boolean | undefined;
|
|
26
25
|
waitSelectorTimeout?: number | undefined;
|
|
27
|
-
}, {
|
|
28
26
|
multiple?: boolean | undefined;
|
|
27
|
+
}, {
|
|
29
28
|
waitForSelector?: boolean | undefined;
|
|
30
29
|
waitSelectorTimeout?: number | undefined;
|
|
30
|
+
multiple?: boolean | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
} & {
|
|
33
33
|
name: z.ZodLiteral<"get-text">;
|
|
@@ -42,14 +42,14 @@ export declare const GetTextBlockSchema: z.ZodObject<{
|
|
|
42
42
|
scrollWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
43
43
|
maxScrollAttempts: z.ZodOptional<z.ZodNumber>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
name: "get-text";
|
|
45
46
|
selector: string;
|
|
47
|
+
findBy: "cssSelector" | "xpath";
|
|
46
48
|
option: {
|
|
47
|
-
multiple?: boolean | undefined;
|
|
48
49
|
waitForSelector?: boolean | undefined;
|
|
49
50
|
waitSelectorTimeout?: number | undefined;
|
|
51
|
+
multiple?: boolean | undefined;
|
|
50
52
|
};
|
|
51
|
-
name: "get-text";
|
|
52
|
-
findBy: "cssSelector" | "xpath";
|
|
53
53
|
includeTags?: boolean | undefined;
|
|
54
54
|
useTextContent?: boolean | undefined;
|
|
55
55
|
regex?: string | undefined;
|
|
@@ -61,14 +61,14 @@ export declare const GetTextBlockSchema: z.ZodObject<{
|
|
|
61
61
|
scrollWaitMs?: number | undefined;
|
|
62
62
|
maxScrollAttempts?: number | undefined;
|
|
63
63
|
}, {
|
|
64
|
+
name: "get-text";
|
|
64
65
|
selector: string;
|
|
66
|
+
findBy: "cssSelector" | "xpath";
|
|
65
67
|
option: {
|
|
66
|
-
multiple?: boolean | undefined;
|
|
67
68
|
waitForSelector?: boolean | undefined;
|
|
68
69
|
waitSelectorTimeout?: number | undefined;
|
|
70
|
+
multiple?: boolean | undefined;
|
|
69
71
|
};
|
|
70
|
-
name: "get-text";
|
|
71
|
-
findBy: "cssSelector" | "xpath";
|
|
72
72
|
includeTags?: boolean | undefined;
|
|
73
73
|
useTextContent?: boolean | undefined;
|
|
74
74
|
regex?: string | undefined;
|
|
@@ -12,36 +12,36 @@ export declare const GetValueFormsBlockSchema: z.ZodObject<{
|
|
|
12
12
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
multiple?: boolean | undefined;
|
|
16
15
|
waitForSelector?: boolean | undefined;
|
|
17
16
|
waitSelectorTimeout?: number | undefined;
|
|
18
|
-
}, {
|
|
19
17
|
multiple?: boolean | undefined;
|
|
18
|
+
}, {
|
|
20
19
|
waitForSelector?: boolean | undefined;
|
|
21
20
|
waitSelectorTimeout?: number | undefined;
|
|
21
|
+
multiple?: boolean | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
} & {
|
|
24
24
|
name: z.ZodLiteral<"get-value-form">;
|
|
25
25
|
type: z.ZodOptional<z.ZodEnum<["text-field", "select", "checkbox"]>>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
name: "get-value-form";
|
|
27
28
|
selector: string;
|
|
29
|
+
findBy: "cssSelector" | "xpath";
|
|
28
30
|
option: {
|
|
29
|
-
multiple?: boolean | undefined;
|
|
30
31
|
waitForSelector?: boolean | undefined;
|
|
31
32
|
waitSelectorTimeout?: number | undefined;
|
|
33
|
+
multiple?: boolean | undefined;
|
|
32
34
|
};
|
|
33
|
-
name: "get-value-form";
|
|
34
|
-
findBy: "cssSelector" | "xpath";
|
|
35
35
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
36
36
|
}, {
|
|
37
|
+
name: "get-value-form";
|
|
37
38
|
selector: string;
|
|
39
|
+
findBy: "cssSelector" | "xpath";
|
|
38
40
|
option: {
|
|
39
|
-
multiple?: boolean | undefined;
|
|
40
41
|
waitForSelector?: boolean | undefined;
|
|
41
42
|
waitSelectorTimeout?: number | undefined;
|
|
43
|
+
multiple?: boolean | undefined;
|
|
42
44
|
};
|
|
43
|
-
name: "get-value-form";
|
|
44
|
-
findBy: "cssSelector" | "xpath";
|
|
45
45
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
export declare function validateGetValueFormsBlock(data: unknown): GetValueFormsBlock;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
import { Block, BlockResult } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* NavigateBlock - 특정 URL로 페이지 이동
|
|
5
|
+
*
|
|
6
|
+
* 현재 탭에서 지정한 URL로 이동합니다.
|
|
7
|
+
*/
|
|
8
|
+
export interface NavigateBlock extends Omit<Block, 'selector' | 'findBy' | 'option'> {
|
|
9
|
+
readonly name: 'navigate';
|
|
10
|
+
url: string;
|
|
11
|
+
waitForLoad?: boolean;
|
|
12
|
+
timeout?: number;
|
|
13
|
+
}
|
|
14
|
+
export declare const NavigateBlockSchema: z.ZodObject<{
|
|
15
|
+
name: z.ZodLiteral<"navigate">;
|
|
16
|
+
url: z.ZodString;
|
|
17
|
+
waitForLoad: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
name: "navigate";
|
|
21
|
+
url: string;
|
|
22
|
+
timeout?: number | undefined;
|
|
23
|
+
waitForLoad?: boolean | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
name: "navigate";
|
|
26
|
+
url: string;
|
|
27
|
+
timeout?: number | undefined;
|
|
28
|
+
waitForLoad?: boolean | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
export declare function validateNavigateBlock(data: unknown): NavigateBlock;
|
|
31
|
+
/**
|
|
32
|
+
* navigate block 핸들러
|
|
33
|
+
* URL로 이동하고 선택적으로 페이지 로드 대기
|
|
34
|
+
*/
|
|
35
|
+
export declare function handlerNavigate(data: NavigateBlock): Promise<BlockResult<boolean>>;
|
|
36
|
+
//# sourceMappingURL=NavigateBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigateBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/NavigateBlock.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;GAIG;AACH,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,EAAE,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAClF,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AAEH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,OAAO,GAAG,aAAa,CAElE;AAED;;;GAGG;AACH,wBAAsB,eAAe,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CA+CxF"}
|
|
@@ -11,34 +11,34 @@ export declare const SaveAssetsBlockSchema: z.ZodObject<{
|
|
|
11
11
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
multiple?: boolean | undefined;
|
|
15
14
|
waitForSelector?: boolean | undefined;
|
|
16
15
|
waitSelectorTimeout?: number | undefined;
|
|
17
|
-
}, {
|
|
18
16
|
multiple?: boolean | undefined;
|
|
17
|
+
}, {
|
|
19
18
|
waitForSelector?: boolean | undefined;
|
|
20
19
|
waitSelectorTimeout?: number | undefined;
|
|
20
|
+
multiple?: boolean | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
} & {
|
|
23
23
|
name: z.ZodLiteral<"save-assets">;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
name: "save-assets";
|
|
25
26
|
selector: string;
|
|
27
|
+
findBy: "cssSelector" | "xpath";
|
|
26
28
|
option: {
|
|
27
|
-
multiple?: boolean | undefined;
|
|
28
29
|
waitForSelector?: boolean | undefined;
|
|
29
30
|
waitSelectorTimeout?: number | undefined;
|
|
31
|
+
multiple?: boolean | undefined;
|
|
30
32
|
};
|
|
31
|
-
name: "save-assets";
|
|
32
|
-
findBy: "cssSelector" | "xpath";
|
|
33
33
|
}, {
|
|
34
|
+
name: "save-assets";
|
|
34
35
|
selector: string;
|
|
36
|
+
findBy: "cssSelector" | "xpath";
|
|
35
37
|
option: {
|
|
36
|
-
multiple?: boolean | undefined;
|
|
37
38
|
waitForSelector?: boolean | undefined;
|
|
38
39
|
waitSelectorTimeout?: number | undefined;
|
|
40
|
+
multiple?: boolean | undefined;
|
|
39
41
|
};
|
|
40
|
-
name: "save-assets";
|
|
41
|
-
findBy: "cssSelector" | "xpath";
|
|
42
42
|
}>;
|
|
43
43
|
export declare function validateSaveAssetsBlock(data: unknown): SaveAssetsBlock;
|
|
44
44
|
export declare function handlerSaveAssets(data: SaveAssetsBlock): Promise<BlockResult<string[] | null>>;
|
|
@@ -16,13 +16,13 @@ export declare const ScrollBlockSchema: z.ZodObject<{
|
|
|
16
16
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
17
17
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
multiple?: boolean | undefined;
|
|
20
19
|
waitForSelector?: boolean | undefined;
|
|
21
20
|
waitSelectorTimeout?: number | undefined;
|
|
22
|
-
}, {
|
|
23
21
|
multiple?: boolean | undefined;
|
|
22
|
+
}, {
|
|
24
23
|
waitForSelector?: boolean | undefined;
|
|
25
24
|
waitSelectorTimeout?: number | undefined;
|
|
25
|
+
multiple?: boolean | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
} & {
|
|
28
28
|
name: z.ZodLiteral<"scroll">;
|
|
@@ -32,28 +32,28 @@ export declare const ScrollBlockSchema: z.ZodObject<{
|
|
|
32
32
|
maxScrolls: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
waitAfterScroll: z.ZodOptional<z.ZodNumber>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
name: "scroll";
|
|
35
36
|
selector: string;
|
|
37
|
+
findBy: "cssSelector" | "xpath";
|
|
36
38
|
option: {
|
|
37
|
-
multiple?: boolean | undefined;
|
|
38
39
|
waitForSelector?: boolean | undefined;
|
|
39
40
|
waitSelectorTimeout?: number | undefined;
|
|
41
|
+
multiple?: boolean | undefined;
|
|
40
42
|
};
|
|
41
|
-
name: "scroll";
|
|
42
|
-
findBy: "cssSelector" | "xpath";
|
|
43
43
|
behavior?: "auto" | "smooth" | undefined;
|
|
44
44
|
scrollType?: "toElement" | "toBottom" | "byDistance" | "untilLoaded" | undefined;
|
|
45
45
|
distance?: number | undefined;
|
|
46
46
|
maxScrolls?: number | undefined;
|
|
47
47
|
waitAfterScroll?: number | undefined;
|
|
48
48
|
}, {
|
|
49
|
+
name: "scroll";
|
|
49
50
|
selector: string;
|
|
51
|
+
findBy: "cssSelector" | "xpath";
|
|
50
52
|
option: {
|
|
51
|
-
multiple?: boolean | undefined;
|
|
52
53
|
waitForSelector?: boolean | undefined;
|
|
53
54
|
waitSelectorTimeout?: number | undefined;
|
|
55
|
+
multiple?: boolean | undefined;
|
|
54
56
|
};
|
|
55
|
-
name: "scroll";
|
|
56
|
-
findBy: "cssSelector" | "xpath";
|
|
57
57
|
behavior?: "auto" | "smooth" | undefined;
|
|
58
58
|
scrollType?: "toElement" | "toBottom" | "byDistance" | "untilLoaded" | undefined;
|
|
59
59
|
distance?: number | undefined;
|
|
@@ -13,38 +13,38 @@ export declare const SetValueFormsBlockSchema: z.ZodObject<{
|
|
|
13
13
|
waitSelectorTimeout: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
multiple?: boolean | undefined;
|
|
17
16
|
waitForSelector?: boolean | undefined;
|
|
18
17
|
waitSelectorTimeout?: number | undefined;
|
|
19
|
-
}, {
|
|
20
18
|
multiple?: boolean | undefined;
|
|
19
|
+
}, {
|
|
21
20
|
waitForSelector?: boolean | undefined;
|
|
22
21
|
waitSelectorTimeout?: number | undefined;
|
|
22
|
+
multiple?: boolean | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
} & {
|
|
25
25
|
name: z.ZodLiteral<"set-value-form">;
|
|
26
26
|
setValue: z.ZodString;
|
|
27
27
|
type: z.ZodOptional<z.ZodEnum<["text-field", "select", "checkbox"]>>;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
name: "set-value-form";
|
|
29
30
|
selector: string;
|
|
31
|
+
findBy: "cssSelector" | "xpath";
|
|
30
32
|
option: {
|
|
31
|
-
multiple?: boolean | undefined;
|
|
32
33
|
waitForSelector?: boolean | undefined;
|
|
33
34
|
waitSelectorTimeout?: number | undefined;
|
|
35
|
+
multiple?: boolean | undefined;
|
|
34
36
|
};
|
|
35
|
-
name: "set-value-form";
|
|
36
|
-
findBy: "cssSelector" | "xpath";
|
|
37
37
|
setValue: string;
|
|
38
38
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
39
39
|
}, {
|
|
40
|
+
name: "set-value-form";
|
|
40
41
|
selector: string;
|
|
42
|
+
findBy: "cssSelector" | "xpath";
|
|
41
43
|
option: {
|
|
42
|
-
multiple?: boolean | undefined;
|
|
43
44
|
waitForSelector?: boolean | undefined;
|
|
44
45
|
waitSelectorTimeout?: number | undefined;
|
|
46
|
+
multiple?: boolean | undefined;
|
|
45
47
|
};
|
|
46
|
-
name: "set-value-form";
|
|
47
|
-
findBy: "cssSelector" | "xpath";
|
|
48
48
|
setValue: string;
|
|
49
49
|
type?: "select" | "text-field" | "checkbox" | undefined;
|
|
50
50
|
}>;
|