forked from wix/Detox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGREYActions.js
618 lines (553 loc) · 25 KB
/
GREYActions.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
/**
This code is generated.
For more information see generation/README.md.
*/
function sanitize_greyDirection(action) {
switch (action) {
case 'left':
return 1;
case 'right':
return 2;
case 'up':
return 3;
case 'down':
return 4;
default:
throw new Error(`GREYAction.GREYDirection must be a 'left'/'right'/'up'/'down', got ${action}`);
}
}
function sanitize_greyContentEdge(action) {
switch (action) {
case 'left':
return 0;
case 'right':
return 1;
case 'top':
return 2;
case 'bottom':
return 3;
default:
throw new Error(`GREYAction.GREYContentEdge must be a 'left'/'right'/'top'/'bottom', got ${action}`);
}
}
class GREYActions {
/*@return A GREYAction that performs multiple taps of a specified @c count.*/
static actionForMultipleTapsWithCount(count) {
if (typeof count !== "number") throw new Error("count should be a number, but got " + (count + (" (" + (typeof count + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForMultipleTapsWithCount:",
args: [{
type: "NSInteger",
value: count
}]
};
}
/*@return A GREYAction that performs multiple taps of a specified @c count at a specified
@c point.*/
static actionForMultipleTapsWithCountAtPoint(count, point) {
if (typeof count !== "number") throw new Error("count should be a number, but got " + (count + (" (" + (typeof count + ")"))));
if (typeof point !== "object") throw new Error("point should be a object, but got " + (point + (" (" + (typeof point + ")"))));
if (typeof point.x !== "number") throw new Error("point.x should be a number, but got " + (point.x + (" (" + (typeof point.x + ")"))));
if (typeof point.y !== "number") throw new Error("point.y should be a number, but got " + (point.y + (" (" + (typeof point.y + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForMultipleTapsWithCount:atPoint:",
args: [{
type: "NSInteger",
value: count
}, {
type: "CGPoint",
value: point
}]
};
}
/*Returns an action that holds down finger for 1.0 second (@c kGREYLongPressDefaultDuration) to
simulate a long press.
@return A GREYAction that performs a long press on an element.*/
static actionForLongPress() {
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForLongPress",
args: []
};
}
/*Returns an action that holds down finger for specified @c duration to simulate a long press.
@param duration The duration of the long press.
@return A GREYAction that performs a long press on an element.*/
static actionForLongPressWithDuration(duration) {
if (typeof duration !== "number") throw new Error("duration should be a number, but got " + (duration + (" (" + (typeof duration + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForLongPressWithDuration:",
args: [{
type: "CGFloat",
value: duration
}]
};
}
/*Returns an action that holds down finger for specified @c duration at the specified @c point
(interpreted as being relative to the element) to simulate a long press.
@param point The point that should be tapped.
@param duration The duration of the long press.
@return A GREYAction that performs a long press on an element.*/
static actionForLongPressAtPointDuration(point, duration) {
if (typeof point !== "object") throw new Error("point should be a object, but got " + (point + (" (" + (typeof point + ")"))));
if (typeof point.x !== "number") throw new Error("point.x should be a number, but got " + (point.x + (" (" + (typeof point.x + ")"))));
if (typeof point.y !== "number") throw new Error("point.y should be a number, but got " + (point.y + (" (" + (typeof point.y + ")"))));
if (typeof duration !== "number") throw new Error("duration should be a number, but got " + (duration + (" (" + (typeof duration + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForLongPressAtPoint:duration:",
args: [{
type: "CGPoint",
value: point
}, {
type: "CGFloat",
value: duration
}]
};
}
/*Returns an action that scrolls a @c UIScrollView by @c amount (in points) in the specified
@c direction.
@param direction The direction of the swipe.
@param amount The amount of points in CGPoints to scroll.
@return A GREYAction that scrolls a scroll view in a given @c direction for a given @c amount.*/
static actionForScrollInDirectionAmount(direction, amount) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
if (typeof amount !== "number") throw new Error("amount should be a number, but got " + (amount + (" (" + (typeof amount + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForScrollInDirection:amount:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}, {
type: "CGFloat",
value: amount
}]
};
}
/*Returns a scroll action that scrolls in a @c direction for an @c amount of points starting from
the given start point specified as percentages. @c xOriginStartPercentage is the x start
position as a percentage of the total width of the scrollable visible area,
@c yOriginStartPercentage is the y start position as a percentage of the total height of the
scrollable visible area. @c xOriginStartPercentage and @c yOriginStartPercentage must be between
0 and 1, exclusive.
@param direction The direction of the scroll.
@param amount The amount scroll in points to inject.
@param xOriginStartPercentage X coordinate of the start point specified as a percentage (0, 1)
exclusive, of the total width of the scrollable visible area.
@param yOriginStartPercentage Y coordinate of the start point specified as a percentage (0, 1)
exclusive, of the total height of the scrollable visible area.
@return A GREYAction that scrolls a scroll view in a given @c direction for a given @c amount
starting from the given start points.*/
static actionForScrollInDirectionAmountXOriginStartPercentageYOriginStartPercentage(direction, amount, xOriginStartPercentage, yOriginStartPercentage) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
if (typeof amount !== "number") throw new Error("amount should be a number, but got " + (amount + (" (" + (typeof amount + ")"))));
if (typeof xOriginStartPercentage !== "number") throw new Error("xOriginStartPercentage should be a number, but got " + (xOriginStartPercentage + (" (" + (typeof xOriginStartPercentage + ")"))));
if (typeof yOriginStartPercentage !== "number") throw new Error("yOriginStartPercentage should be a number, but got " + (yOriginStartPercentage + (" (" + (typeof yOriginStartPercentage + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForScrollInDirection:amount:xOriginStartPercentage:yOriginStartPercentage:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}, {
type: "CGFloat",
value: amount
}, {
type: "CGFloat",
value: xOriginStartPercentage
}, {
type: "CGFloat",
value: yOriginStartPercentage
}]
};
}
/*@return A GREYAction that scrolls to the given content @c edge of a scroll view.*/
static actionForScrollToContentEdge(edge) {
if (!["left", "right", "top", "bottom"].some(option => option === edge)) throw new Error("edge should be one of [left, right, top, bottom], but got " + edge);
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForScrollToContentEdge:",
args: [{
type: "NSInteger",
value: sanitize_greyContentEdge(edge)
}]
};
}
/*A GREYAction that scrolls to the given content @c edge of a scroll view with the scroll action
starting from the given start point specified as percentages. @c xOriginStartPercentage is the x
start position as a percentage of the total width of the scrollable visible area,
@c yOriginStartPercentage is the y start position as a percentage of the total height of the
scrollable visible area. @c xOriginStartPercentage and @c yOriginStartPercentage must be between
0 and 1, exclusive.
@param edge The edge towards which the scrolling is to take place.
@param xOriginStartPercentage X coordinate of the start point specified as a percentage (0, 1)
exclusive, of the total width of the scrollable visible area.
@param yOriginStartPercentage Y coordinate of the start point specified as a percentage (0, 1)
exclusive, of the total height of the scrollable visible area.
@return A GREYAction that scrolls to the given content @c edge of a scroll view with the scroll
action starting from the given start point.*/
static actionForScrollToContentEdgeXOriginStartPercentageYOriginStartPercentage(edge, xOriginStartPercentage, yOriginStartPercentage) {
if (!["left", "right", "top", "bottom"].some(option => option === edge)) throw new Error("edge should be one of [left, right, top, bottom], but got " + edge);
if (typeof xOriginStartPercentage !== "number") throw new Error("xOriginStartPercentage should be a number, but got " + (xOriginStartPercentage + (" (" + (typeof xOriginStartPercentage + ")"))));
if (typeof yOriginStartPercentage !== "number") throw new Error("yOriginStartPercentage should be a number, but got " + (yOriginStartPercentage + (" (" + (typeof yOriginStartPercentage + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForScrollToContentEdge:xOriginStartPercentage:yOriginStartPercentage:",
args: [{
type: "NSInteger",
value: sanitize_greyContentEdge(edge)
}, {
type: "CGFloat",
value: xOriginStartPercentage
}, {
type: "CGFloat",
value: yOriginStartPercentage
}]
};
}
/*Returns an action that fast swipes through the view. The start point of the swipe is chosen to
achieve the maximum the swipe possible to the other edge.
@param direction The direction of the swipe.
@return A GREYAction that performs a fast swipe in the given direction.*/
static actionForSwipeFastInDirection(direction) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForSwipeFastInDirection:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}]
};
}
/*Returns an action that slow swipes through the view. The start point of the swipe is chosen to
achieve maximum the swipe possible to the other edge.
@param direction The direction of the swipe.
@return A GREYAction that performs a slow swipe in the given direction.*/
static actionForSwipeSlowInDirection(direction) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForSwipeSlowInDirection:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}]
};
}
/*Returns an action that swipes through the view quickly in the given @c direction from a specific
origin.
@param direction The direction of the swipe.
@param xOriginStartPercentage the x start position as a percentage of the total width
of the view. This must be between 0 and 1.
@param yOriginStartPercentage the y start position as a percentage of the total height
of the view. This must be between 0 and 1.
@return A GREYAction that performs a fast swipe through a view in a specific direction from
the specified point.*/
static actionForSwipeFastInDirectionXOriginStartPercentageYOriginStartPercentage(direction, xOriginStartPercentage, yOriginStartPercentage) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
if (typeof xOriginStartPercentage !== "number") throw new Error("xOriginStartPercentage should be a number, but got " + (xOriginStartPercentage + (" (" + (typeof xOriginStartPercentage + ")"))));
if (typeof yOriginStartPercentage !== "number") throw new Error("yOriginStartPercentage should be a number, but got " + (yOriginStartPercentage + (" (" + (typeof yOriginStartPercentage + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForSwipeFastInDirection:xOriginStartPercentage:yOriginStartPercentage:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}, {
type: "CGFloat",
value: xOriginStartPercentage
}, {
type: "CGFloat",
value: yOriginStartPercentage
}]
};
}
/*Returns an action that swipes through the view quickly in the given @c direction from a
specific origin.
@param direction The direction of the swipe.
@param xOriginStartPercentage the x start position as a percentage of the total width
of the view. This must be between 0 and 1.
@param yOriginStartPercentage the y start position as a percentage of the total height
of the view. This must be between 0 and 1.
@return A GREYAction that performs a slow swipe through a view in a specific direction from
the specified point.*/
static actionForSwipeSlowInDirectionXOriginStartPercentageYOriginStartPercentage(direction, xOriginStartPercentage, yOriginStartPercentage) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
if (typeof xOriginStartPercentage !== "number") throw new Error("xOriginStartPercentage should be a number, but got " + (xOriginStartPercentage + (" (" + (typeof xOriginStartPercentage + ")"))));
if (typeof yOriginStartPercentage !== "number") throw new Error("yOriginStartPercentage should be a number, but got " + (yOriginStartPercentage + (" (" + (typeof yOriginStartPercentage + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForSwipeSlowInDirection:xOriginStartPercentage:yOriginStartPercentage:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}, {
type: "CGFloat",
value: xOriginStartPercentage
}, {
type: "CGFloat",
value: yOriginStartPercentage
}]
};
}
/*Returns an action that performs a multi-finger slow swipe through the view in the given
@c direction.
@param direction The direction of the swipe.
@param numberOfFingers Number of fingers touching the screen for the swipe.
@return A GREYAction that performs a multi-finger slow swipe through a view in a specific
direction from the specified point.*/
static actionForMultiFingerSwipeSlowInDirectionNumberOfFingers(direction, numberOfFingers) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
if (typeof numberOfFingers !== "number") throw new Error("numberOfFingers should be a number, but got " + (numberOfFingers + (" (" + (typeof numberOfFingers + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForMultiFingerSwipeSlowInDirection:numberOfFingers:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}, {
type: "NSInteger",
value: numberOfFingers
}]
};
}
/*Returns an action that performs a multi-finger fast swipe through the view in the given
@c direction.
@param direction The direction of the swipe.
@param numberOfFingers Number of fingers touching the screen for the swipe.
@return A GREYAction that performs a multi-finger fast swipe through a view in a specific
direction from the specified point.*/
static actionForMultiFingerSwipeFastInDirectionNumberOfFingers(direction, numberOfFingers) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
if (typeof numberOfFingers !== "number") throw new Error("numberOfFingers should be a number, but got " + (numberOfFingers + (" (" + (typeof numberOfFingers + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForMultiFingerSwipeFastInDirection:numberOfFingers:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}, {
type: "NSInteger",
value: numberOfFingers
}]
};
}
/*Returns an action that performs a multi-finger slow swipe through the view in the given
@c direction.
@param direction The direction of the swipe.
@param numberOfFingers Number of fingers touching the screen for the swipe.
@return A GREYAction that performs a multi-finger slow swipe through a view in a specific
direction from the specified point.*/
static actionForMultiFingerSwipeSlowInDirectionNumberOfFingersXOriginStartPercentageYOriginStartPercentage(direction, numberOfFingers, xOriginStartPercentage, yOriginStartPercentage) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
if (typeof numberOfFingers !== "number") throw new Error("numberOfFingers should be a number, but got " + (numberOfFingers + (" (" + (typeof numberOfFingers + ")"))));
if (typeof xOriginStartPercentage !== "number") throw new Error("xOriginStartPercentage should be a number, but got " + (xOriginStartPercentage + (" (" + (typeof xOriginStartPercentage + ")"))));
if (typeof yOriginStartPercentage !== "number") throw new Error("yOriginStartPercentage should be a number, but got " + (yOriginStartPercentage + (" (" + (typeof yOriginStartPercentage + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForMultiFingerSwipeSlowInDirection:numberOfFingers:xOriginStartPercentage:yOriginStartPercentage:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}, {
type: "NSInteger",
value: numberOfFingers
}, {
type: "CGFloat",
value: xOriginStartPercentage
}, {
type: "CGFloat",
value: yOriginStartPercentage
}]
};
}
/*Returns an action that performs a multi-finger fast swipe through the view in the given
@c direction.
@param direction The direction of the swipe.
@param numberOfFingers Number of fingers touching the screen for the swipe.
@return A GREYAction that performs a multi-finger fast swipe through a view in a specific
direction from the specified point.*/
static actionForMultiFingerSwipeFastInDirectionNumberOfFingersXOriginStartPercentageYOriginStartPercentage(direction, numberOfFingers, xOriginStartPercentage, yOriginStartPercentage) {
if (!["left", "right", "up", "down"].some(option => option === direction)) throw new Error("direction should be one of [left, right, up, down], but got " + direction);
if (typeof numberOfFingers !== "number") throw new Error("numberOfFingers should be a number, but got " + (numberOfFingers + (" (" + (typeof numberOfFingers + ")"))));
if (typeof xOriginStartPercentage !== "number") throw new Error("xOriginStartPercentage should be a number, but got " + (xOriginStartPercentage + (" (" + (typeof xOriginStartPercentage + ")"))));
if (typeof yOriginStartPercentage !== "number") throw new Error("yOriginStartPercentage should be a number, but got " + (yOriginStartPercentage + (" (" + (typeof yOriginStartPercentage + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForMultiFingerSwipeFastInDirection:numberOfFingers:xOriginStartPercentage:yOriginStartPercentage:",
args: [{
type: "NSInteger",
value: sanitize_greyDirection(direction)
}, {
type: "NSInteger",
value: numberOfFingers
}, {
type: "CGFloat",
value: xOriginStartPercentage
}, {
type: "CGFloat",
value: yOriginStartPercentage
}]
};
}
/*Returns an action that taps on an element at the activation point of the element.
@return A GREYAction to tap on an element.*/
static actionForTap() {
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForTap",
args: []
};
}
/*Returns an action that taps on an element at the specified @c point.
@param point The point that should be tapped. It must be in the coordinate system of the
element and it's position is relative to the origin of the element, as in
(element_width/2, element_height/2) will tap at the center of element.
@return A GREYAction to tap on an element at a specific point.*/
static actionForTapAtPoint(point) {
if (typeof point !== "object") throw new Error("point should be a object, but got " + (point + (" (" + (typeof point + ")"))));
if (typeof point.x !== "number") throw new Error("point.x should be a number, but got " + (point.x + (" (" + (typeof point.x + ")"))));
if (typeof point.y !== "number") throw new Error("point.y should be a number, but got " + (point.y + (" (" + (typeof point.y + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForTapAtPoint:",
args: [{
type: "CGPoint",
value: point
}]
};
}
/*Returns an action that uses the iOS keyboard to input a string.
@param text The text to be typed. For Objective-C, backspace is supported by using "\b" in the
string and "\u{8}" in Swift strings. Return key is supported with "\n".
For Example: @"Helpo\b\bloWorld" will type HelloWorld in Objective-C.
"Helpo\u{8}\u{8}loWorld" will type HelloWorld in Swift.
@return A GREYAction to type a specific text string in a text field.*/
static actionForTypeText(text) {
if (typeof text !== "string") throw new Error("text should be a string, but got " + (text + (" (" + (typeof text + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForTypeText:",
args: [{
type: "NSString",
value: text
}]
};
}
/*Returns an action that sets text on a UITextField or webview input directly.
@param text The text to be typed.
@return A GREYAction to type a specific text string in a text field.*/
static actionForReplaceText(text) {
if (typeof text !== "string") throw new Error("text should be a string, but got " + (text + (" (" + (typeof text + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForReplaceText:",
args: [{
type: "NSString",
value: text
}]
};
}
/*@return A GREYAction that clears a text field by injecting back-spaces.*/
static actionForClearText() {
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForClearText",
args: []
};
}
/*Returns an action that selects @c value on the given @c column of a UIPickerView.
@param column The UIPickerView column being set.
@param value The value to set the UIPickerView.
@return A GREYAction to set the value of a specified column of a UIPickerView.*/
static actionForSetPickerColumnToValue(column, value) {
if (typeof column !== "number") throw new Error("column should be a number, but got " + (column + (" (" + (typeof column + ")"))));
if (typeof value !== "string") throw new Error("value should be a string, but got " + (value + (" (" + (typeof value + ")"))));
return {
target: {
type: "Class",
value: "GREYActions"
},
method: "actionForSetPickerColumn:toValue:",
args: [{
type: "NSInteger",
value: column
}, {
type: "NSString",
value: value
}]
};
}
}
module.exports = GREYActions;