topological-nodered-wdio 0.5.1 → 0.5.2
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/LICENSE +20 -20
- package/README.md +15 -15
- package/examples/basic.json +332 -332
- package/package.json +44 -43
- package/src/alert-action.html +79 -79
- package/src/alert-action.js +52 -52
- package/src/browser-action.html +114 -114
- package/src/browser-action.js +70 -70
- package/src/delete-session.html +26 -26
- package/src/delete-session.js +29 -29
- package/src/document-helper.html +46 -0
- package/src/document-helper.js +21 -0
- package/src/dropdown-action.html +124 -124
- package/src/dropdown-action.js +50 -50
- package/src/element-action.html +133 -133
- package/src/element-action.js +105 -105
- package/src/element-check.html +90 -90
- package/src/element-check.js +62 -62
- package/src/execute-script.html +92 -92
- package/src/execute-script.js +40 -40
- package/src/explicit-wait.html +126 -126
- package/src/explicit-wait.js +48 -48
- package/src/frame-action.html +67 -67
- package/src/frame-action.js +38 -38
- package/src/implicit-wait-config.html +85 -85
- package/src/implicit-wait-config.js +41 -41
- package/src/new-session.html +96 -96
- package/src/new-session.js +108 -108
- package/src/wdio-common.js +162 -155
- package/src/window-action.html +91 -91
- package/src/window-action.js +43 -43
package/examples/basic.json
CHANGED
|
@@ -1,332 +1,332 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "b333aac5.8be6a8",
|
|
4
|
-
"type": "tab",
|
|
5
|
-
"label": "Flow 1",
|
|
6
|
-
"disabled": false,
|
|
7
|
-
"info": ""
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"id": "2ae2052c84670f7b",
|
|
11
|
-
"type": "group",
|
|
12
|
-
"z": "b333aac5.8be6a8",
|
|
13
|
-
"name": "Not an example",
|
|
14
|
-
"style": { "fill": "#bfbfbf", "label": true },
|
|
15
|
-
"nodes": [
|
|
16
|
-
"80d7692a0b0a5dae",
|
|
17
|
-
"dbe5078787689019",
|
|
18
|
-
"3d557240da278749",
|
|
19
|
-
"6ca4cf3b1e3156c8",
|
|
20
|
-
"acc978488aa9fd9e",
|
|
21
|
-
"206a1838d1053cc6",
|
|
22
|
-
"21510f1cf2dc4e22",
|
|
23
|
-
"8f550411f523be8d",
|
|
24
|
-
"efe81da4597b7c90"
|
|
25
|
-
],
|
|
26
|
-
"x": 74,
|
|
27
|
-
"y": 739,
|
|
28
|
-
"w": 792,
|
|
29
|
-
"h": 402
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"id": "3a964070.37941",
|
|
33
|
-
"type": "inject",
|
|
34
|
-
"z": "b333aac5.8be6a8",
|
|
35
|
-
"name": "",
|
|
36
|
-
"repeat": "",
|
|
37
|
-
"crontab": "",
|
|
38
|
-
"once": false,
|
|
39
|
-
"onceDelay": 0.1,
|
|
40
|
-
"topic": "",
|
|
41
|
-
"payload": "",
|
|
42
|
-
"payloadType": "date",
|
|
43
|
-
"x": 100,
|
|
44
|
-
"y": 60,
|
|
45
|
-
"wires": [["2017a5a9.9aa3da"]]
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"id": "e95ea90a.a813d8",
|
|
49
|
-
"type": "debug",
|
|
50
|
-
"z": "b333aac5.8be6a8",
|
|
51
|
-
"name": "",
|
|
52
|
-
"active": true,
|
|
53
|
-
"tosidebar": true,
|
|
54
|
-
"console": false,
|
|
55
|
-
"tostatus": false,
|
|
56
|
-
"complete": "false",
|
|
57
|
-
"x": 430,
|
|
58
|
-
"y": 260,
|
|
59
|
-
"wires": []
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"id": "b670d9f3.134eb8",
|
|
63
|
-
"type": "delete-session",
|
|
64
|
-
"z": "b333aac5.8be6a8",
|
|
65
|
-
"name": "",
|
|
66
|
-
"x": 260,
|
|
67
|
-
"y": 440,
|
|
68
|
-
"wires": [[]]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"id": "19944fc9.c9237",
|
|
72
|
-
"type": "catch",
|
|
73
|
-
"z": "b333aac5.8be6a8",
|
|
74
|
-
"name": "",
|
|
75
|
-
"scope": null,
|
|
76
|
-
"uncaught": false,
|
|
77
|
-
"x": 240,
|
|
78
|
-
"y": 580,
|
|
79
|
-
"wires": [["3a338a9f.17c156"]]
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"id": "3a338a9f.17c156",
|
|
83
|
-
"type": "debug",
|
|
84
|
-
"z": "b333aac5.8be6a8",
|
|
85
|
-
"name": "",
|
|
86
|
-
"active": true,
|
|
87
|
-
"tosidebar": true,
|
|
88
|
-
"console": false,
|
|
89
|
-
"tostatus": false,
|
|
90
|
-
"complete": "error",
|
|
91
|
-
"targetType": "msg",
|
|
92
|
-
"x": 400,
|
|
93
|
-
"y": 580,
|
|
94
|
-
"wires": []
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"id": "54afd8dd.3df5a8",
|
|
98
|
-
"type": "debug",
|
|
99
|
-
"z": "b333aac5.8be6a8",
|
|
100
|
-
"name": "",
|
|
101
|
-
"active": true,
|
|
102
|
-
"tosidebar": true,
|
|
103
|
-
"console": false,
|
|
104
|
-
"tostatus": false,
|
|
105
|
-
"complete": "false",
|
|
106
|
-
"x": 790,
|
|
107
|
-
"y": 340,
|
|
108
|
-
"wires": []
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"id": "5f57519b.33bc9",
|
|
112
|
-
"type": "element-action",
|
|
113
|
-
"z": "b333aac5.8be6a8",
|
|
114
|
-
"name": "click go",
|
|
115
|
-
"locateUsing": "css selector",
|
|
116
|
-
"locateValue": "#search_button_homepage",
|
|
117
|
-
"action": "click",
|
|
118
|
-
"sendKeys": "",
|
|
119
|
-
"attribute": "",
|
|
120
|
-
"x": 400,
|
|
121
|
-
"y": 340,
|
|
122
|
-
"wires": [["6a3b88d8.2791a"]]
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"id": "a5053d5f.b6a638",
|
|
126
|
-
"type": "browser-action",
|
|
127
|
-
"z": "b333aac5.8be6a8",
|
|
128
|
-
"name": "navigate to",
|
|
129
|
-
"action": "navigateTo",
|
|
130
|
-
"url": "https://duckduckgo.com",
|
|
131
|
-
"width": "",
|
|
132
|
-
"height": "",
|
|
133
|
-
"keysArr": "",
|
|
134
|
-
"x": 431.5,
|
|
135
|
-
"y": 181,
|
|
136
|
-
"wires": [["7e7366f3.e7b74"]]
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"id": "7e7366f3.e7b74",
|
|
140
|
-
"type": "browser-action",
|
|
141
|
-
"z": "b333aac5.8be6a8",
|
|
142
|
-
"name": "get title",
|
|
143
|
-
"action": "getTitle",
|
|
144
|
-
"url": "",
|
|
145
|
-
"width": "",
|
|
146
|
-
"height": "",
|
|
147
|
-
"keysArr": "",
|
|
148
|
-
"x": 234.5,
|
|
149
|
-
"y": 260,
|
|
150
|
-
"wires": [["e95ea90a.a813d8", "1e414894.80c9f7"]]
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"id": "6a3b88d8.2791a",
|
|
154
|
-
"type": "browser-action",
|
|
155
|
-
"z": "b333aac5.8be6a8",
|
|
156
|
-
"name": "get title",
|
|
157
|
-
"action": "getTitle",
|
|
158
|
-
"url": "",
|
|
159
|
-
"width": "",
|
|
160
|
-
"height": "",
|
|
161
|
-
"keysArr": "",
|
|
162
|
-
"x": 570.5,
|
|
163
|
-
"y": 339,
|
|
164
|
-
"wires": [["54afd8dd.3df5a8", "b670d9f3.134eb8"]]
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"id": "1e414894.80c9f7",
|
|
168
|
-
"type": "element-action",
|
|
169
|
-
"z": "b333aac5.8be6a8",
|
|
170
|
-
"name": "send keys",
|
|
171
|
-
"locateUsing": "css selector",
|
|
172
|
-
"locateValue": "#search_form_input_homepage",
|
|
173
|
-
"action": "sendKeys",
|
|
174
|
-
"sendKeys": "hi",
|
|
175
|
-
"object": "str",
|
|
176
|
-
"attribute": "",
|
|
177
|
-
"x": 233,
|
|
178
|
-
"y": 340,
|
|
179
|
-
"wires": [["5f57519b.33bc9"]]
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"id": "2017a5a9.9aa3da",
|
|
183
|
-
"type": "new-session",
|
|
184
|
-
"z": "b333aac5.8be6a8",
|
|
185
|
-
"name": "",
|
|
186
|
-
"webdriverUri": "",
|
|
187
|
-
"webdriverProvider": "",
|
|
188
|
-
"webdriverBrowser": "",
|
|
189
|
-
"logLevel": "error",
|
|
190
|
-
"x": 238,
|
|
191
|
-
"y": 181,
|
|
192
|
-
"wires": [["a5053d5f.b6a638"]]
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"id": "80d7692a0b0a5dae",
|
|
196
|
-
"type": "element-check",
|
|
197
|
-
"z": "b333aac5.8be6a8",
|
|
198
|
-
"d": true,
|
|
199
|
-
"g": "2ae2052c84670f7b",
|
|
200
|
-
"name": "",
|
|
201
|
-
"locateUsing": "xpath",
|
|
202
|
-
"locateValue": "",
|
|
203
|
-
"check": "selected",
|
|
204
|
-
"x": 400,
|
|
205
|
-
"y": 780,
|
|
206
|
-
"wires": [["3d557240da278749"]]
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"id": "dbe5078787689019",
|
|
210
|
-
"type": "inject",
|
|
211
|
-
"z": "b333aac5.8be6a8",
|
|
212
|
-
"d": true,
|
|
213
|
-
"g": "2ae2052c84670f7b",
|
|
214
|
-
"name": "",
|
|
215
|
-
"props": [{ "p": "payload" }, { "p": "topic", "vt": "str" }],
|
|
216
|
-
"repeat": "",
|
|
217
|
-
"crontab": "",
|
|
218
|
-
"once": false,
|
|
219
|
-
"onceDelay": 0.1,
|
|
220
|
-
"topic": "",
|
|
221
|
-
"payload": "",
|
|
222
|
-
"payloadType": "date",
|
|
223
|
-
"x": 180,
|
|
224
|
-
"y": 780,
|
|
225
|
-
"wires": [["80d7692a0b0a5dae"]]
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"id": "3d557240da278749",
|
|
229
|
-
"type": "alert-action",
|
|
230
|
-
"z": "b333aac5.8be6a8",
|
|
231
|
-
"d": true,
|
|
232
|
-
"g": "2ae2052c84670f7b",
|
|
233
|
-
"name": "",
|
|
234
|
-
"action": "accept",
|
|
235
|
-
"sendText": "",
|
|
236
|
-
"x": 610,
|
|
237
|
-
"y": 800,
|
|
238
|
-
"wires": [["6ca4cf3b1e3156c8"]]
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"id": "6ca4cf3b1e3156c8",
|
|
242
|
-
"type": "dropdown-action",
|
|
243
|
-
"z": "b333aac5.8be6a8",
|
|
244
|
-
"d": true,
|
|
245
|
-
"g": "2ae2052c84670f7b",
|
|
246
|
-
"name": "",
|
|
247
|
-
"locateUsing": "xpath",
|
|
248
|
-
"locateValue": "",
|
|
249
|
-
"action": "selectByAttr",
|
|
250
|
-
"text": "",
|
|
251
|
-
"attribute": "",
|
|
252
|
-
"index": "",
|
|
253
|
-
"value": "",
|
|
254
|
-
"x": 520,
|
|
255
|
-
"y": 900,
|
|
256
|
-
"wires": [["efe81da4597b7c90"]]
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"id": "acc978488aa9fd9e",
|
|
260
|
-
"type": "window-action",
|
|
261
|
-
"z": "b333aac5.8be6a8",
|
|
262
|
-
"d": true,
|
|
263
|
-
"g": "2ae2052c84670f7b",
|
|
264
|
-
"name": "",
|
|
265
|
-
"action": "byName",
|
|
266
|
-
"value": "",
|
|
267
|
-
"index": "",
|
|
268
|
-
"x": 400,
|
|
269
|
-
"y": 1040,
|
|
270
|
-
"wires": [["206a1838d1053cc6"]]
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"id": "206a1838d1053cc6",
|
|
274
|
-
"type": "frame-action",
|
|
275
|
-
"z": "b333aac5.8be6a8",
|
|
276
|
-
"d": true,
|
|
277
|
-
"g": "2ae2052c84670f7b",
|
|
278
|
-
"name": "",
|
|
279
|
-
"action": "frame",
|
|
280
|
-
"frame": "",
|
|
281
|
-
"x": 370,
|
|
282
|
-
"y": 1100,
|
|
283
|
-
"wires": [["21510f1cf2dc4e22"]]
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"id": "21510f1cf2dc4e22",
|
|
287
|
-
"type": "execute-script",
|
|
288
|
-
"z": "b333aac5.8be6a8",
|
|
289
|
-
"d": true,
|
|
290
|
-
"g": "2ae2052c84670f7b",
|
|
291
|
-
"name": "",
|
|
292
|
-
"locateUsing": "xpath",
|
|
293
|
-
"locateValue": "",
|
|
294
|
-
"action": "sync",
|
|
295
|
-
"script": "",
|
|
296
|
-
"x": 600,
|
|
297
|
-
"y": 1100,
|
|
298
|
-
"wires": [[]]
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"id": "8f550411f523be8d",
|
|
302
|
-
"type": "explicit-wait",
|
|
303
|
-
"z": "b333aac5.8be6a8",
|
|
304
|
-
"d": true,
|
|
305
|
-
"g": "2ae2052c84670f7b",
|
|
306
|
-
"name": "",
|
|
307
|
-
"locateUsing": "xpath",
|
|
308
|
-
"locateValue": "",
|
|
309
|
-
"action": "",
|
|
310
|
-
"time": "",
|
|
311
|
-
"reverse": "false",
|
|
312
|
-
"error": "",
|
|
313
|
-
"x": 630,
|
|
314
|
-
"y": 1000,
|
|
315
|
-
"wires": [["acc978488aa9fd9e"]]
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"id": "efe81da4597b7c90",
|
|
319
|
-
"type": "implicit-wait-config",
|
|
320
|
-
"z": "b333aac5.8be6a8",
|
|
321
|
-
"d": true,
|
|
322
|
-
"g": "2ae2052c84670f7b",
|
|
323
|
-
"name": "",
|
|
324
|
-
"implicit": "",
|
|
325
|
-
"pageload": "",
|
|
326
|
-
"script": "",
|
|
327
|
-
"action": "",
|
|
328
|
-
"x": 750,
|
|
329
|
-
"y": 920,
|
|
330
|
-
"wires": [["8f550411f523be8d"]]
|
|
331
|
-
}
|
|
332
|
-
]
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "b333aac5.8be6a8",
|
|
4
|
+
"type": "tab",
|
|
5
|
+
"label": "Flow 1",
|
|
6
|
+
"disabled": false,
|
|
7
|
+
"info": ""
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "2ae2052c84670f7b",
|
|
11
|
+
"type": "group",
|
|
12
|
+
"z": "b333aac5.8be6a8",
|
|
13
|
+
"name": "Not an example",
|
|
14
|
+
"style": { "fill": "#bfbfbf", "label": true },
|
|
15
|
+
"nodes": [
|
|
16
|
+
"80d7692a0b0a5dae",
|
|
17
|
+
"dbe5078787689019",
|
|
18
|
+
"3d557240da278749",
|
|
19
|
+
"6ca4cf3b1e3156c8",
|
|
20
|
+
"acc978488aa9fd9e",
|
|
21
|
+
"206a1838d1053cc6",
|
|
22
|
+
"21510f1cf2dc4e22",
|
|
23
|
+
"8f550411f523be8d",
|
|
24
|
+
"efe81da4597b7c90"
|
|
25
|
+
],
|
|
26
|
+
"x": 74,
|
|
27
|
+
"y": 739,
|
|
28
|
+
"w": 792,
|
|
29
|
+
"h": 402
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "3a964070.37941",
|
|
33
|
+
"type": "inject",
|
|
34
|
+
"z": "b333aac5.8be6a8",
|
|
35
|
+
"name": "",
|
|
36
|
+
"repeat": "",
|
|
37
|
+
"crontab": "",
|
|
38
|
+
"once": false,
|
|
39
|
+
"onceDelay": 0.1,
|
|
40
|
+
"topic": "",
|
|
41
|
+
"payload": "",
|
|
42
|
+
"payloadType": "date",
|
|
43
|
+
"x": 100,
|
|
44
|
+
"y": 60,
|
|
45
|
+
"wires": [["2017a5a9.9aa3da"]]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "e95ea90a.a813d8",
|
|
49
|
+
"type": "debug",
|
|
50
|
+
"z": "b333aac5.8be6a8",
|
|
51
|
+
"name": "",
|
|
52
|
+
"active": true,
|
|
53
|
+
"tosidebar": true,
|
|
54
|
+
"console": false,
|
|
55
|
+
"tostatus": false,
|
|
56
|
+
"complete": "false",
|
|
57
|
+
"x": 430,
|
|
58
|
+
"y": 260,
|
|
59
|
+
"wires": []
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "b670d9f3.134eb8",
|
|
63
|
+
"type": "delete-session",
|
|
64
|
+
"z": "b333aac5.8be6a8",
|
|
65
|
+
"name": "",
|
|
66
|
+
"x": 260,
|
|
67
|
+
"y": 440,
|
|
68
|
+
"wires": [[]]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "19944fc9.c9237",
|
|
72
|
+
"type": "catch",
|
|
73
|
+
"z": "b333aac5.8be6a8",
|
|
74
|
+
"name": "",
|
|
75
|
+
"scope": null,
|
|
76
|
+
"uncaught": false,
|
|
77
|
+
"x": 240,
|
|
78
|
+
"y": 580,
|
|
79
|
+
"wires": [["3a338a9f.17c156"]]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "3a338a9f.17c156",
|
|
83
|
+
"type": "debug",
|
|
84
|
+
"z": "b333aac5.8be6a8",
|
|
85
|
+
"name": "",
|
|
86
|
+
"active": true,
|
|
87
|
+
"tosidebar": true,
|
|
88
|
+
"console": false,
|
|
89
|
+
"tostatus": false,
|
|
90
|
+
"complete": "error",
|
|
91
|
+
"targetType": "msg",
|
|
92
|
+
"x": 400,
|
|
93
|
+
"y": 580,
|
|
94
|
+
"wires": []
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "54afd8dd.3df5a8",
|
|
98
|
+
"type": "debug",
|
|
99
|
+
"z": "b333aac5.8be6a8",
|
|
100
|
+
"name": "",
|
|
101
|
+
"active": true,
|
|
102
|
+
"tosidebar": true,
|
|
103
|
+
"console": false,
|
|
104
|
+
"tostatus": false,
|
|
105
|
+
"complete": "false",
|
|
106
|
+
"x": 790,
|
|
107
|
+
"y": 340,
|
|
108
|
+
"wires": []
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "5f57519b.33bc9",
|
|
112
|
+
"type": "element-action",
|
|
113
|
+
"z": "b333aac5.8be6a8",
|
|
114
|
+
"name": "click go",
|
|
115
|
+
"locateUsing": "css selector",
|
|
116
|
+
"locateValue": "#search_button_homepage",
|
|
117
|
+
"action": "click",
|
|
118
|
+
"sendKeys": "",
|
|
119
|
+
"attribute": "",
|
|
120
|
+
"x": 400,
|
|
121
|
+
"y": 340,
|
|
122
|
+
"wires": [["6a3b88d8.2791a"]]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "a5053d5f.b6a638",
|
|
126
|
+
"type": "browser-action",
|
|
127
|
+
"z": "b333aac5.8be6a8",
|
|
128
|
+
"name": "navigate to",
|
|
129
|
+
"action": "navigateTo",
|
|
130
|
+
"url": "https://duckduckgo.com",
|
|
131
|
+
"width": "",
|
|
132
|
+
"height": "",
|
|
133
|
+
"keysArr": "",
|
|
134
|
+
"x": 431.5,
|
|
135
|
+
"y": 181,
|
|
136
|
+
"wires": [["7e7366f3.e7b74"]]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "7e7366f3.e7b74",
|
|
140
|
+
"type": "browser-action",
|
|
141
|
+
"z": "b333aac5.8be6a8",
|
|
142
|
+
"name": "get title",
|
|
143
|
+
"action": "getTitle",
|
|
144
|
+
"url": "",
|
|
145
|
+
"width": "",
|
|
146
|
+
"height": "",
|
|
147
|
+
"keysArr": "",
|
|
148
|
+
"x": 234.5,
|
|
149
|
+
"y": 260,
|
|
150
|
+
"wires": [["e95ea90a.a813d8", "1e414894.80c9f7"]]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "6a3b88d8.2791a",
|
|
154
|
+
"type": "browser-action",
|
|
155
|
+
"z": "b333aac5.8be6a8",
|
|
156
|
+
"name": "get title",
|
|
157
|
+
"action": "getTitle",
|
|
158
|
+
"url": "",
|
|
159
|
+
"width": "",
|
|
160
|
+
"height": "",
|
|
161
|
+
"keysArr": "",
|
|
162
|
+
"x": 570.5,
|
|
163
|
+
"y": 339,
|
|
164
|
+
"wires": [["54afd8dd.3df5a8", "b670d9f3.134eb8"]]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"id": "1e414894.80c9f7",
|
|
168
|
+
"type": "element-action",
|
|
169
|
+
"z": "b333aac5.8be6a8",
|
|
170
|
+
"name": "send keys",
|
|
171
|
+
"locateUsing": "css selector",
|
|
172
|
+
"locateValue": "#search_form_input_homepage",
|
|
173
|
+
"action": "sendKeys",
|
|
174
|
+
"sendKeys": "hi",
|
|
175
|
+
"object": "str",
|
|
176
|
+
"attribute": "",
|
|
177
|
+
"x": 233,
|
|
178
|
+
"y": 340,
|
|
179
|
+
"wires": [["5f57519b.33bc9"]]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"id": "2017a5a9.9aa3da",
|
|
183
|
+
"type": "new-session",
|
|
184
|
+
"z": "b333aac5.8be6a8",
|
|
185
|
+
"name": "",
|
|
186
|
+
"webdriverUri": "",
|
|
187
|
+
"webdriverProvider": "",
|
|
188
|
+
"webdriverBrowser": "",
|
|
189
|
+
"logLevel": "error",
|
|
190
|
+
"x": 238,
|
|
191
|
+
"y": 181,
|
|
192
|
+
"wires": [["a5053d5f.b6a638"]]
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "80d7692a0b0a5dae",
|
|
196
|
+
"type": "element-check",
|
|
197
|
+
"z": "b333aac5.8be6a8",
|
|
198
|
+
"d": true,
|
|
199
|
+
"g": "2ae2052c84670f7b",
|
|
200
|
+
"name": "",
|
|
201
|
+
"locateUsing": "xpath",
|
|
202
|
+
"locateValue": "",
|
|
203
|
+
"check": "selected",
|
|
204
|
+
"x": 400,
|
|
205
|
+
"y": 780,
|
|
206
|
+
"wires": [["3d557240da278749"]]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"id": "dbe5078787689019",
|
|
210
|
+
"type": "inject",
|
|
211
|
+
"z": "b333aac5.8be6a8",
|
|
212
|
+
"d": true,
|
|
213
|
+
"g": "2ae2052c84670f7b",
|
|
214
|
+
"name": "",
|
|
215
|
+
"props": [{ "p": "payload" }, { "p": "topic", "vt": "str" }],
|
|
216
|
+
"repeat": "",
|
|
217
|
+
"crontab": "",
|
|
218
|
+
"once": false,
|
|
219
|
+
"onceDelay": 0.1,
|
|
220
|
+
"topic": "",
|
|
221
|
+
"payload": "",
|
|
222
|
+
"payloadType": "date",
|
|
223
|
+
"x": 180,
|
|
224
|
+
"y": 780,
|
|
225
|
+
"wires": [["80d7692a0b0a5dae"]]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "3d557240da278749",
|
|
229
|
+
"type": "alert-action",
|
|
230
|
+
"z": "b333aac5.8be6a8",
|
|
231
|
+
"d": true,
|
|
232
|
+
"g": "2ae2052c84670f7b",
|
|
233
|
+
"name": "",
|
|
234
|
+
"action": "accept",
|
|
235
|
+
"sendText": "",
|
|
236
|
+
"x": 610,
|
|
237
|
+
"y": 800,
|
|
238
|
+
"wires": [["6ca4cf3b1e3156c8"]]
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "6ca4cf3b1e3156c8",
|
|
242
|
+
"type": "dropdown-action",
|
|
243
|
+
"z": "b333aac5.8be6a8",
|
|
244
|
+
"d": true,
|
|
245
|
+
"g": "2ae2052c84670f7b",
|
|
246
|
+
"name": "",
|
|
247
|
+
"locateUsing": "xpath",
|
|
248
|
+
"locateValue": "",
|
|
249
|
+
"action": "selectByAttr",
|
|
250
|
+
"text": "",
|
|
251
|
+
"attribute": "",
|
|
252
|
+
"index": "",
|
|
253
|
+
"value": "",
|
|
254
|
+
"x": 520,
|
|
255
|
+
"y": 900,
|
|
256
|
+
"wires": [["efe81da4597b7c90"]]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "acc978488aa9fd9e",
|
|
260
|
+
"type": "window-action",
|
|
261
|
+
"z": "b333aac5.8be6a8",
|
|
262
|
+
"d": true,
|
|
263
|
+
"g": "2ae2052c84670f7b",
|
|
264
|
+
"name": "",
|
|
265
|
+
"action": "byName",
|
|
266
|
+
"value": "",
|
|
267
|
+
"index": "",
|
|
268
|
+
"x": 400,
|
|
269
|
+
"y": 1040,
|
|
270
|
+
"wires": [["206a1838d1053cc6"]]
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"id": "206a1838d1053cc6",
|
|
274
|
+
"type": "frame-action",
|
|
275
|
+
"z": "b333aac5.8be6a8",
|
|
276
|
+
"d": true,
|
|
277
|
+
"g": "2ae2052c84670f7b",
|
|
278
|
+
"name": "",
|
|
279
|
+
"action": "frame",
|
|
280
|
+
"frame": "",
|
|
281
|
+
"x": 370,
|
|
282
|
+
"y": 1100,
|
|
283
|
+
"wires": [["21510f1cf2dc4e22"]]
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"id": "21510f1cf2dc4e22",
|
|
287
|
+
"type": "execute-script",
|
|
288
|
+
"z": "b333aac5.8be6a8",
|
|
289
|
+
"d": true,
|
|
290
|
+
"g": "2ae2052c84670f7b",
|
|
291
|
+
"name": "",
|
|
292
|
+
"locateUsing": "xpath",
|
|
293
|
+
"locateValue": "",
|
|
294
|
+
"action": "sync",
|
|
295
|
+
"script": "",
|
|
296
|
+
"x": 600,
|
|
297
|
+
"y": 1100,
|
|
298
|
+
"wires": [[]]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"id": "8f550411f523be8d",
|
|
302
|
+
"type": "explicit-wait",
|
|
303
|
+
"z": "b333aac5.8be6a8",
|
|
304
|
+
"d": true,
|
|
305
|
+
"g": "2ae2052c84670f7b",
|
|
306
|
+
"name": "",
|
|
307
|
+
"locateUsing": "xpath",
|
|
308
|
+
"locateValue": "",
|
|
309
|
+
"action": "",
|
|
310
|
+
"time": "",
|
|
311
|
+
"reverse": "false",
|
|
312
|
+
"error": "",
|
|
313
|
+
"x": 630,
|
|
314
|
+
"y": 1000,
|
|
315
|
+
"wires": [["acc978488aa9fd9e"]]
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "efe81da4597b7c90",
|
|
319
|
+
"type": "implicit-wait-config",
|
|
320
|
+
"z": "b333aac5.8be6a8",
|
|
321
|
+
"d": true,
|
|
322
|
+
"g": "2ae2052c84670f7b",
|
|
323
|
+
"name": "",
|
|
324
|
+
"implicit": "",
|
|
325
|
+
"pageload": "",
|
|
326
|
+
"script": "",
|
|
327
|
+
"action": "",
|
|
328
|
+
"x": 750,
|
|
329
|
+
"y": 920,
|
|
330
|
+
"wires": [["8f550411f523be8d"]]
|
|
331
|
+
}
|
|
332
|
+
]
|