wisp-schema 0.12.2 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wisp-schema.rb +1 -1
- data/wisp.json +31 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c7679c3c81d096cb542759b2f3992a17093c34d3705c50a60e4fe989d09d05a
|
4
|
+
data.tar.gz: 4a42431266818528457973e6686509e3cbdcca6e1bad76f1a1bec16fcc9a1586
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0953033322befcace40117fcd6477a4f5dadec5fd8b30b2d85ab50957ed8d9f87da02b359d30cb3a5095e3224dda4102450bf98f053f6831479a39788c697677'
|
7
|
+
data.tar.gz: facefd947d4612375952e731e0bfbec7765947e47320c19efb22c9b778c879353418558554a2d7aa5852573a28e0f0431ed5cf138a1ec20bde72b3f95219ed69
|
data/lib/wisp-schema.rb
CHANGED
data/wisp.json
CHANGED
@@ -179,6 +179,7 @@
|
|
179
179
|
"title": "Wisp Verb",
|
180
180
|
"oneOf": [
|
181
181
|
{"$ref": "#/definitions/click"},
|
182
|
+
{"$ref": "#/definitions/double_click"},
|
182
183
|
{"$ref": "#/definitions/fill"},
|
183
184
|
{"$ref": "#/definitions/type"},
|
184
185
|
{"$ref": "#/definitions/send_key"},
|
@@ -192,6 +193,7 @@
|
|
192
193
|
{"$ref": "#/definitions/navigate_incognito_tab"},
|
193
194
|
{"$ref": "#/definitions/close_tab"},
|
194
195
|
{"$ref": "#/definitions/scroll"},
|
196
|
+
{"$ref": "#/definitions/sleep"},
|
195
197
|
{"$ref": "#/definitions/drag_and_drop"},
|
196
198
|
{"$ref": "#/definitions/click_and_hold"},
|
197
199
|
{"$ref": "#/definitions/plain_language"},
|
@@ -213,6 +215,22 @@
|
|
213
215
|
"action": {
|
214
216
|
"enum": ["click"]
|
215
217
|
},
|
218
|
+
"target": {
|
219
|
+
"title": "Target",
|
220
|
+
"$ref": "#/definitions/noun"
|
221
|
+
},
|
222
|
+
"button": {"title": "button", "type": "string", "enum": ["left", "middle", "right"]}
|
223
|
+
},
|
224
|
+
"required": ["action", "target"]
|
225
|
+
},
|
226
|
+
"double_click": {
|
227
|
+
"type": "object",
|
228
|
+
"title": "Double Click",
|
229
|
+
"description": "Double-clicks on the UI element",
|
230
|
+
"properties": {
|
231
|
+
"action": {
|
232
|
+
"enum": ["double_click"]
|
233
|
+
},
|
216
234
|
"target": {
|
217
235
|
"title": "Target",
|
218
236
|
"$ref": "#/definitions/noun"
|
@@ -399,6 +417,18 @@
|
|
399
417
|
},
|
400
418
|
"required": ["action", "direction", "target"]
|
401
419
|
},
|
420
|
+
"sleep": {
|
421
|
+
"type": "object",
|
422
|
+
"title": "Sleep",
|
423
|
+
"Description": "Waits for a number of seconds",
|
424
|
+
"properties": {
|
425
|
+
"action": {
|
426
|
+
"enum": ["sleep"]
|
427
|
+
},
|
428
|
+
"seconds": {"title": "seconds", "type": "integer"}
|
429
|
+
},
|
430
|
+
"required": ["action", "seconds"]
|
431
|
+
},
|
402
432
|
"drag_and_drop": {
|
403
433
|
"type": "object",
|
404
434
|
"title": "Drag and drop",
|
@@ -421,7 +451,7 @@
|
|
421
451
|
"click_and_hold": {
|
422
452
|
"type": "object",
|
423
453
|
"title": "Click and Hold",
|
424
|
-
"description": "Clicks and holds mouse button over object",
|
454
|
+
"description": "Clicks and holds the left mouse button over object for a number of seconds",
|
425
455
|
"properties": {
|
426
456
|
"action": {
|
427
457
|
"enum": ["click_and_hold"]
|