appium-xcuitest-driver 4.18.0 → 4.18.1
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/CHANGELOG.md +7 -0
- package/npm-shrinkwrap.json +91 -91
- package/package.json +2 -2
- package/scripts/build-wda.js +41 -0
- package/build/lib/build-wda.js +0 -34
- package/build/lib/build-wda.js.map +0 -1
- package/lib/build-wda.js +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [4.18.1](https://github.com/appium/appium-xcuitest-driver/compare/v4.18.0...v4.18.1) (2023-02-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Update WDA build scipt ([#1506](https://github.com/appium/appium-xcuitest-driver/issues/1506)) ([ad84172](https://github.com/appium/appium-xcuitest-driver/commit/ad841721549513ebcb1accc7840667d6898e023f))
|
|
7
|
+
|
|
1
8
|
## [4.18.0](https://github.com/appium/appium-xcuitest-driver/compare/v4.17.1...v4.18.0) (2023-02-20)
|
|
2
9
|
|
|
3
10
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-xcuitest-driver",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-xcuitest-driver",
|
|
9
|
-
"version": "4.18.
|
|
9
|
+
"version": "4.18.1",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "^7.0.0",
|
|
@@ -344,10 +344,10 @@
|
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
346
|
"node_modules/@jimp/bmp": {
|
|
347
|
-
"version": "0.22.
|
|
347
|
+
"version": "0.22.5",
|
|
348
348
|
"license": "MIT",
|
|
349
349
|
"dependencies": {
|
|
350
|
-
"@jimp/utils": "^0.22.
|
|
350
|
+
"@jimp/utils": "^0.22.5",
|
|
351
351
|
"bmp-js": "^0.1.0"
|
|
352
352
|
},
|
|
353
353
|
"peerDependencies": {
|
|
@@ -355,10 +355,10 @@
|
|
|
355
355
|
}
|
|
356
356
|
},
|
|
357
357
|
"node_modules/@jimp/core": {
|
|
358
|
-
"version": "0.22.
|
|
358
|
+
"version": "0.22.5",
|
|
359
359
|
"license": "MIT",
|
|
360
360
|
"dependencies": {
|
|
361
|
-
"@jimp/utils": "^0.22.
|
|
361
|
+
"@jimp/utils": "^0.22.5",
|
|
362
362
|
"any-base": "^1.1.0",
|
|
363
363
|
"buffer": "^5.2.0",
|
|
364
364
|
"exif-parser": "^0.1.12",
|
|
@@ -370,17 +370,17 @@
|
|
|
370
370
|
}
|
|
371
371
|
},
|
|
372
372
|
"node_modules/@jimp/custom": {
|
|
373
|
-
"version": "0.22.
|
|
373
|
+
"version": "0.22.5",
|
|
374
374
|
"license": "MIT",
|
|
375
375
|
"dependencies": {
|
|
376
|
-
"@jimp/core": "^0.22.
|
|
376
|
+
"@jimp/core": "^0.22.5"
|
|
377
377
|
}
|
|
378
378
|
},
|
|
379
379
|
"node_modules/@jimp/gif": {
|
|
380
|
-
"version": "0.22.
|
|
380
|
+
"version": "0.22.5",
|
|
381
381
|
"license": "MIT",
|
|
382
382
|
"dependencies": {
|
|
383
|
-
"@jimp/utils": "^0.22.
|
|
383
|
+
"@jimp/utils": "^0.22.5",
|
|
384
384
|
"gifwrap": "^0.9.2",
|
|
385
385
|
"omggif": "^1.0.9"
|
|
386
386
|
},
|
|
@@ -389,10 +389,10 @@
|
|
|
389
389
|
}
|
|
390
390
|
},
|
|
391
391
|
"node_modules/@jimp/jpeg": {
|
|
392
|
-
"version": "0.22.
|
|
392
|
+
"version": "0.22.5",
|
|
393
393
|
"license": "MIT",
|
|
394
394
|
"dependencies": {
|
|
395
|
-
"@jimp/utils": "^0.22.
|
|
395
|
+
"@jimp/utils": "^0.22.5",
|
|
396
396
|
"jpeg-js": "^0.4.4"
|
|
397
397
|
},
|
|
398
398
|
"peerDependencies": {
|
|
@@ -400,40 +400,40 @@
|
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
402
|
"node_modules/@jimp/plugin-blit": {
|
|
403
|
-
"version": "0.22.
|
|
403
|
+
"version": "0.22.5",
|
|
404
404
|
"license": "MIT",
|
|
405
405
|
"dependencies": {
|
|
406
|
-
"@jimp/utils": "^0.22.
|
|
406
|
+
"@jimp/utils": "^0.22.5"
|
|
407
407
|
},
|
|
408
408
|
"peerDependencies": {
|
|
409
409
|
"@jimp/custom": ">=0.3.5"
|
|
410
410
|
}
|
|
411
411
|
},
|
|
412
412
|
"node_modules/@jimp/plugin-blur": {
|
|
413
|
-
"version": "0.22.
|
|
413
|
+
"version": "0.22.5",
|
|
414
414
|
"license": "MIT",
|
|
415
415
|
"dependencies": {
|
|
416
|
-
"@jimp/utils": "^0.22.
|
|
416
|
+
"@jimp/utils": "^0.22.5"
|
|
417
417
|
},
|
|
418
418
|
"peerDependencies": {
|
|
419
419
|
"@jimp/custom": ">=0.3.5"
|
|
420
420
|
}
|
|
421
421
|
},
|
|
422
422
|
"node_modules/@jimp/plugin-circle": {
|
|
423
|
-
"version": "0.22.
|
|
423
|
+
"version": "0.22.5",
|
|
424
424
|
"license": "MIT",
|
|
425
425
|
"dependencies": {
|
|
426
|
-
"@jimp/utils": "^0.22.
|
|
426
|
+
"@jimp/utils": "^0.22.5"
|
|
427
427
|
},
|
|
428
428
|
"peerDependencies": {
|
|
429
429
|
"@jimp/custom": ">=0.3.5"
|
|
430
430
|
}
|
|
431
431
|
},
|
|
432
432
|
"node_modules/@jimp/plugin-color": {
|
|
433
|
-
"version": "0.22.
|
|
433
|
+
"version": "0.22.5",
|
|
434
434
|
"license": "MIT",
|
|
435
435
|
"dependencies": {
|
|
436
|
-
"@jimp/utils": "^0.22.
|
|
436
|
+
"@jimp/utils": "^0.22.5",
|
|
437
437
|
"tinycolor2": "^1.6.0"
|
|
438
438
|
},
|
|
439
439
|
"peerDependencies": {
|
|
@@ -441,10 +441,10 @@
|
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
"node_modules/@jimp/plugin-contain": {
|
|
444
|
-
"version": "0.22.
|
|
444
|
+
"version": "0.22.5",
|
|
445
445
|
"license": "MIT",
|
|
446
446
|
"dependencies": {
|
|
447
|
-
"@jimp/utils": "^0.22.
|
|
447
|
+
"@jimp/utils": "^0.22.5"
|
|
448
448
|
},
|
|
449
449
|
"peerDependencies": {
|
|
450
450
|
"@jimp/custom": ">=0.3.5",
|
|
@@ -454,10 +454,10 @@
|
|
|
454
454
|
}
|
|
455
455
|
},
|
|
456
456
|
"node_modules/@jimp/plugin-cover": {
|
|
457
|
-
"version": "0.22.
|
|
457
|
+
"version": "0.22.5",
|
|
458
458
|
"license": "MIT",
|
|
459
459
|
"dependencies": {
|
|
460
|
-
"@jimp/utils": "^0.22.
|
|
460
|
+
"@jimp/utils": "^0.22.5"
|
|
461
461
|
},
|
|
462
462
|
"peerDependencies": {
|
|
463
463
|
"@jimp/custom": ">=0.3.5",
|
|
@@ -467,50 +467,50 @@
|
|
|
467
467
|
}
|
|
468
468
|
},
|
|
469
469
|
"node_modules/@jimp/plugin-crop": {
|
|
470
|
-
"version": "0.22.
|
|
470
|
+
"version": "0.22.5",
|
|
471
471
|
"license": "MIT",
|
|
472
472
|
"dependencies": {
|
|
473
|
-
"@jimp/utils": "^0.22.
|
|
473
|
+
"@jimp/utils": "^0.22.5"
|
|
474
474
|
},
|
|
475
475
|
"peerDependencies": {
|
|
476
476
|
"@jimp/custom": ">=0.3.5"
|
|
477
477
|
}
|
|
478
478
|
},
|
|
479
479
|
"node_modules/@jimp/plugin-displace": {
|
|
480
|
-
"version": "0.22.
|
|
480
|
+
"version": "0.22.5",
|
|
481
481
|
"license": "MIT",
|
|
482
482
|
"dependencies": {
|
|
483
|
-
"@jimp/utils": "^0.22.
|
|
483
|
+
"@jimp/utils": "^0.22.5"
|
|
484
484
|
},
|
|
485
485
|
"peerDependencies": {
|
|
486
486
|
"@jimp/custom": ">=0.3.5"
|
|
487
487
|
}
|
|
488
488
|
},
|
|
489
489
|
"node_modules/@jimp/plugin-dither": {
|
|
490
|
-
"version": "0.22.
|
|
490
|
+
"version": "0.22.5",
|
|
491
491
|
"license": "MIT",
|
|
492
492
|
"dependencies": {
|
|
493
|
-
"@jimp/utils": "^0.22.
|
|
493
|
+
"@jimp/utils": "^0.22.5"
|
|
494
494
|
},
|
|
495
495
|
"peerDependencies": {
|
|
496
496
|
"@jimp/custom": ">=0.3.5"
|
|
497
497
|
}
|
|
498
498
|
},
|
|
499
499
|
"node_modules/@jimp/plugin-fisheye": {
|
|
500
|
-
"version": "0.22.
|
|
500
|
+
"version": "0.22.5",
|
|
501
501
|
"license": "MIT",
|
|
502
502
|
"dependencies": {
|
|
503
|
-
"@jimp/utils": "^0.22.
|
|
503
|
+
"@jimp/utils": "^0.22.5"
|
|
504
504
|
},
|
|
505
505
|
"peerDependencies": {
|
|
506
506
|
"@jimp/custom": ">=0.3.5"
|
|
507
507
|
}
|
|
508
508
|
},
|
|
509
509
|
"node_modules/@jimp/plugin-flip": {
|
|
510
|
-
"version": "0.22.
|
|
510
|
+
"version": "0.22.5",
|
|
511
511
|
"license": "MIT",
|
|
512
512
|
"dependencies": {
|
|
513
|
-
"@jimp/utils": "^0.22.
|
|
513
|
+
"@jimp/utils": "^0.22.5"
|
|
514
514
|
},
|
|
515
515
|
"peerDependencies": {
|
|
516
516
|
"@jimp/custom": ">=0.3.5",
|
|
@@ -518,50 +518,50 @@
|
|
|
518
518
|
}
|
|
519
519
|
},
|
|
520
520
|
"node_modules/@jimp/plugin-gaussian": {
|
|
521
|
-
"version": "0.22.
|
|
521
|
+
"version": "0.22.5",
|
|
522
522
|
"license": "MIT",
|
|
523
523
|
"dependencies": {
|
|
524
|
-
"@jimp/utils": "^0.22.
|
|
524
|
+
"@jimp/utils": "^0.22.5"
|
|
525
525
|
},
|
|
526
526
|
"peerDependencies": {
|
|
527
527
|
"@jimp/custom": ">=0.3.5"
|
|
528
528
|
}
|
|
529
529
|
},
|
|
530
530
|
"node_modules/@jimp/plugin-invert": {
|
|
531
|
-
"version": "0.22.
|
|
531
|
+
"version": "0.22.5",
|
|
532
532
|
"license": "MIT",
|
|
533
533
|
"dependencies": {
|
|
534
|
-
"@jimp/utils": "^0.22.
|
|
534
|
+
"@jimp/utils": "^0.22.5"
|
|
535
535
|
},
|
|
536
536
|
"peerDependencies": {
|
|
537
537
|
"@jimp/custom": ">=0.3.5"
|
|
538
538
|
}
|
|
539
539
|
},
|
|
540
540
|
"node_modules/@jimp/plugin-mask": {
|
|
541
|
-
"version": "0.22.
|
|
541
|
+
"version": "0.22.5",
|
|
542
542
|
"license": "MIT",
|
|
543
543
|
"dependencies": {
|
|
544
|
-
"@jimp/utils": "^0.22.
|
|
544
|
+
"@jimp/utils": "^0.22.5"
|
|
545
545
|
},
|
|
546
546
|
"peerDependencies": {
|
|
547
547
|
"@jimp/custom": ">=0.3.5"
|
|
548
548
|
}
|
|
549
549
|
},
|
|
550
550
|
"node_modules/@jimp/plugin-normalize": {
|
|
551
|
-
"version": "0.22.
|
|
551
|
+
"version": "0.22.5",
|
|
552
552
|
"license": "MIT",
|
|
553
553
|
"dependencies": {
|
|
554
|
-
"@jimp/utils": "^0.22.
|
|
554
|
+
"@jimp/utils": "^0.22.5"
|
|
555
555
|
},
|
|
556
556
|
"peerDependencies": {
|
|
557
557
|
"@jimp/custom": ">=0.3.5"
|
|
558
558
|
}
|
|
559
559
|
},
|
|
560
560
|
"node_modules/@jimp/plugin-print": {
|
|
561
|
-
"version": "0.22.
|
|
561
|
+
"version": "0.22.5",
|
|
562
562
|
"license": "MIT",
|
|
563
563
|
"dependencies": {
|
|
564
|
-
"@jimp/utils": "^0.22.
|
|
564
|
+
"@jimp/utils": "^0.22.5",
|
|
565
565
|
"load-bmfont": "^1.4.1"
|
|
566
566
|
},
|
|
567
567
|
"peerDependencies": {
|
|
@@ -570,20 +570,20 @@
|
|
|
570
570
|
}
|
|
571
571
|
},
|
|
572
572
|
"node_modules/@jimp/plugin-resize": {
|
|
573
|
-
"version": "0.22.
|
|
573
|
+
"version": "0.22.5",
|
|
574
574
|
"license": "MIT",
|
|
575
575
|
"dependencies": {
|
|
576
|
-
"@jimp/utils": "^0.22.
|
|
576
|
+
"@jimp/utils": "^0.22.5"
|
|
577
577
|
},
|
|
578
578
|
"peerDependencies": {
|
|
579
579
|
"@jimp/custom": ">=0.3.5"
|
|
580
580
|
}
|
|
581
581
|
},
|
|
582
582
|
"node_modules/@jimp/plugin-rotate": {
|
|
583
|
-
"version": "0.22.
|
|
583
|
+
"version": "0.22.5",
|
|
584
584
|
"license": "MIT",
|
|
585
585
|
"dependencies": {
|
|
586
|
-
"@jimp/utils": "^0.22.
|
|
586
|
+
"@jimp/utils": "^0.22.5"
|
|
587
587
|
},
|
|
588
588
|
"peerDependencies": {
|
|
589
589
|
"@jimp/custom": ">=0.3.5",
|
|
@@ -593,10 +593,10 @@
|
|
|
593
593
|
}
|
|
594
594
|
},
|
|
595
595
|
"node_modules/@jimp/plugin-scale": {
|
|
596
|
-
"version": "0.22.
|
|
596
|
+
"version": "0.22.5",
|
|
597
597
|
"license": "MIT",
|
|
598
598
|
"dependencies": {
|
|
599
|
-
"@jimp/utils": "^0.22.
|
|
599
|
+
"@jimp/utils": "^0.22.5"
|
|
600
600
|
},
|
|
601
601
|
"peerDependencies": {
|
|
602
602
|
"@jimp/custom": ">=0.3.5",
|
|
@@ -604,10 +604,10 @@
|
|
|
604
604
|
}
|
|
605
605
|
},
|
|
606
606
|
"node_modules/@jimp/plugin-shadow": {
|
|
607
|
-
"version": "0.22.
|
|
607
|
+
"version": "0.22.5",
|
|
608
608
|
"license": "MIT",
|
|
609
609
|
"dependencies": {
|
|
610
|
-
"@jimp/utils": "^0.22.
|
|
610
|
+
"@jimp/utils": "^0.22.5"
|
|
611
611
|
},
|
|
612
612
|
"peerDependencies": {
|
|
613
613
|
"@jimp/custom": ">=0.3.5",
|
|
@@ -616,10 +616,10 @@
|
|
|
616
616
|
}
|
|
617
617
|
},
|
|
618
618
|
"node_modules/@jimp/plugin-threshold": {
|
|
619
|
-
"version": "0.22.
|
|
619
|
+
"version": "0.22.5",
|
|
620
620
|
"license": "MIT",
|
|
621
621
|
"dependencies": {
|
|
622
|
-
"@jimp/utils": "^0.22.
|
|
622
|
+
"@jimp/utils": "^0.22.5"
|
|
623
623
|
},
|
|
624
624
|
"peerDependencies": {
|
|
625
625
|
"@jimp/custom": ">=0.3.5",
|
|
@@ -628,30 +628,30 @@
|
|
|
628
628
|
}
|
|
629
629
|
},
|
|
630
630
|
"node_modules/@jimp/plugins": {
|
|
631
|
-
"version": "0.22.
|
|
632
|
-
"license": "MIT",
|
|
633
|
-
"dependencies": {
|
|
634
|
-
"@jimp/plugin-blit": "^0.22.
|
|
635
|
-
"@jimp/plugin-blur": "^0.22.
|
|
636
|
-
"@jimp/plugin-circle": "^0.22.
|
|
637
|
-
"@jimp/plugin-color": "^0.22.
|
|
638
|
-
"@jimp/plugin-contain": "^0.22.
|
|
639
|
-
"@jimp/plugin-cover": "^0.22.
|
|
640
|
-
"@jimp/plugin-crop": "^0.22.
|
|
641
|
-
"@jimp/plugin-displace": "^0.22.
|
|
642
|
-
"@jimp/plugin-dither": "^0.22.
|
|
643
|
-
"@jimp/plugin-fisheye": "^0.22.
|
|
644
|
-
"@jimp/plugin-flip": "^0.22.
|
|
645
|
-
"@jimp/plugin-gaussian": "^0.22.
|
|
646
|
-
"@jimp/plugin-invert": "^0.22.
|
|
647
|
-
"@jimp/plugin-mask": "^0.22.
|
|
648
|
-
"@jimp/plugin-normalize": "^0.22.
|
|
649
|
-
"@jimp/plugin-print": "^0.22.
|
|
650
|
-
"@jimp/plugin-resize": "^0.22.
|
|
651
|
-
"@jimp/plugin-rotate": "^0.22.
|
|
652
|
-
"@jimp/plugin-scale": "^0.22.
|
|
653
|
-
"@jimp/plugin-shadow": "^0.22.
|
|
654
|
-
"@jimp/plugin-threshold": "^0.22.
|
|
631
|
+
"version": "0.22.5",
|
|
632
|
+
"license": "MIT",
|
|
633
|
+
"dependencies": {
|
|
634
|
+
"@jimp/plugin-blit": "^0.22.5",
|
|
635
|
+
"@jimp/plugin-blur": "^0.22.5",
|
|
636
|
+
"@jimp/plugin-circle": "^0.22.5",
|
|
637
|
+
"@jimp/plugin-color": "^0.22.5",
|
|
638
|
+
"@jimp/plugin-contain": "^0.22.5",
|
|
639
|
+
"@jimp/plugin-cover": "^0.22.5",
|
|
640
|
+
"@jimp/plugin-crop": "^0.22.5",
|
|
641
|
+
"@jimp/plugin-displace": "^0.22.5",
|
|
642
|
+
"@jimp/plugin-dither": "^0.22.5",
|
|
643
|
+
"@jimp/plugin-fisheye": "^0.22.5",
|
|
644
|
+
"@jimp/plugin-flip": "^0.22.5",
|
|
645
|
+
"@jimp/plugin-gaussian": "^0.22.5",
|
|
646
|
+
"@jimp/plugin-invert": "^0.22.5",
|
|
647
|
+
"@jimp/plugin-mask": "^0.22.5",
|
|
648
|
+
"@jimp/plugin-normalize": "^0.22.5",
|
|
649
|
+
"@jimp/plugin-print": "^0.22.5",
|
|
650
|
+
"@jimp/plugin-resize": "^0.22.5",
|
|
651
|
+
"@jimp/plugin-rotate": "^0.22.5",
|
|
652
|
+
"@jimp/plugin-scale": "^0.22.5",
|
|
653
|
+
"@jimp/plugin-shadow": "^0.22.5",
|
|
654
|
+
"@jimp/plugin-threshold": "^0.22.5",
|
|
655
655
|
"timm": "^1.6.1"
|
|
656
656
|
},
|
|
657
657
|
"peerDependencies": {
|
|
@@ -659,10 +659,10 @@
|
|
|
659
659
|
}
|
|
660
660
|
},
|
|
661
661
|
"node_modules/@jimp/png": {
|
|
662
|
-
"version": "0.22.
|
|
662
|
+
"version": "0.22.5",
|
|
663
663
|
"license": "MIT",
|
|
664
664
|
"dependencies": {
|
|
665
|
-
"@jimp/utils": "^0.22.
|
|
665
|
+
"@jimp/utils": "^0.22.5",
|
|
666
666
|
"pngjs": "^6.0.0"
|
|
667
667
|
},
|
|
668
668
|
"peerDependencies": {
|
|
@@ -677,7 +677,7 @@
|
|
|
677
677
|
}
|
|
678
678
|
},
|
|
679
679
|
"node_modules/@jimp/tiff": {
|
|
680
|
-
"version": "0.22.
|
|
680
|
+
"version": "0.22.5",
|
|
681
681
|
"license": "MIT",
|
|
682
682
|
"dependencies": {
|
|
683
683
|
"utif2": "^4.0.1"
|
|
@@ -687,14 +687,14 @@
|
|
|
687
687
|
}
|
|
688
688
|
},
|
|
689
689
|
"node_modules/@jimp/types": {
|
|
690
|
-
"version": "0.22.
|
|
690
|
+
"version": "0.22.5",
|
|
691
691
|
"license": "MIT",
|
|
692
692
|
"dependencies": {
|
|
693
|
-
"@jimp/bmp": "^0.22.
|
|
694
|
-
"@jimp/gif": "^0.22.
|
|
695
|
-
"@jimp/jpeg": "^0.22.
|
|
696
|
-
"@jimp/png": "^0.22.
|
|
697
|
-
"@jimp/tiff": "^0.22.
|
|
693
|
+
"@jimp/bmp": "^0.22.5",
|
|
694
|
+
"@jimp/gif": "^0.22.5",
|
|
695
|
+
"@jimp/jpeg": "^0.22.5",
|
|
696
|
+
"@jimp/png": "^0.22.5",
|
|
697
|
+
"@jimp/tiff": "^0.22.5",
|
|
698
698
|
"timm": "^1.6.1"
|
|
699
699
|
},
|
|
700
700
|
"peerDependencies": {
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
}
|
|
703
703
|
},
|
|
704
704
|
"node_modules/@jimp/utils": {
|
|
705
|
-
"version": "0.22.
|
|
705
|
+
"version": "0.22.5",
|
|
706
706
|
"license": "MIT",
|
|
707
707
|
"dependencies": {
|
|
708
708
|
"regenerator-runtime": "^0.13.3"
|
|
@@ -1186,7 +1186,7 @@
|
|
|
1186
1186
|
}
|
|
1187
1187
|
},
|
|
1188
1188
|
"node_modules/appium-webdriveragent": {
|
|
1189
|
-
"version": "4.12.
|
|
1189
|
+
"version": "4.12.2",
|
|
1190
1190
|
"license": "Apache-2.0",
|
|
1191
1191
|
"dependencies": {
|
|
1192
1192
|
"@appium/base-driver": "^9.0.0",
|
|
@@ -1397,7 +1397,7 @@
|
|
|
1397
1397
|
"license": "MIT"
|
|
1398
1398
|
},
|
|
1399
1399
|
"node_modules/axios": {
|
|
1400
|
-
"version": "1.3.
|
|
1400
|
+
"version": "1.3.4",
|
|
1401
1401
|
"license": "MIT",
|
|
1402
1402
|
"dependencies": {
|
|
1403
1403
|
"follow-redirects": "^1.15.0",
|
|
@@ -2787,7 +2787,7 @@
|
|
|
2787
2787
|
}
|
|
2788
2788
|
},
|
|
2789
2789
|
"node_modules/lru-cache": {
|
|
2790
|
-
"version": "7.
|
|
2790
|
+
"version": "7.17.0",
|
|
2791
2791
|
"license": "ISC",
|
|
2792
2792
|
"engines": {
|
|
2793
2793
|
"node": ">=12"
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"xcuitest",
|
|
9
9
|
"xctest"
|
|
10
10
|
],
|
|
11
|
-
"version": "4.18.
|
|
11
|
+
"version": "4.18.1",
|
|
12
12
|
"author": "Appium Contributors",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
],
|
|
32
32
|
"mainClass": "XCUITestDriver",
|
|
33
33
|
"scripts": {
|
|
34
|
-
"build-wda": "./
|
|
34
|
+
"build-wda": "./scripts/build-wda.js",
|
|
35
35
|
"open-wda": "./scripts/open-wda.js"
|
|
36
36
|
},
|
|
37
37
|
"schema": {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const { WebDriverAgent } = require('appium-webdriveragent');
|
|
2
|
+
const xcode = require('appium-xcode');
|
|
3
|
+
const B = require('bluebird');
|
|
4
|
+
const { Simctl } = require('node-simctl');
|
|
5
|
+
const { getSimulator } = require('appium-ios-simulator');
|
|
6
|
+
const log = require('fancy-log');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// TODO: allow passing in all the various build params as CLI args
|
|
10
|
+
async function build () {
|
|
11
|
+
const [xcodeVersion, platformVersion] = await B.all([
|
|
12
|
+
xcode.getVersion(true),
|
|
13
|
+
xcode.getMaxIOSSDK()
|
|
14
|
+
]);
|
|
15
|
+
const verifyDevicePresence = (info) => {
|
|
16
|
+
if (!info) {
|
|
17
|
+
throw new Error(
|
|
18
|
+
`Cannot find any available iOS ${platformVersion} Simulator on your system`
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
return info;
|
|
22
|
+
};
|
|
23
|
+
const deviceInfo = verifyDevicePresence(
|
|
24
|
+
(await new Simctl().getDevices(platformVersion, 'iOS'))
|
|
25
|
+
.find(({name}) => name.includes('iPhone'))
|
|
26
|
+
);
|
|
27
|
+
const device = await getSimulator(deviceInfo.udid, {
|
|
28
|
+
platform: deviceInfo.platform,
|
|
29
|
+
checkExistence: false,
|
|
30
|
+
});
|
|
31
|
+
const wda = new WebDriverAgent(xcodeVersion, {
|
|
32
|
+
iosSdkVersion: platformVersion,
|
|
33
|
+
platformVersion,
|
|
34
|
+
showXcodeLog: true,
|
|
35
|
+
device,
|
|
36
|
+
});
|
|
37
|
+
log.info(`Building WDA for ${deviceInfo.name} ${platformVersion} Simulator...`);
|
|
38
|
+
await wda.xcodebuild.start(true);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
(async () => await build())();
|
package/build/lib/build-wda.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
require("source-map-support/register");
|
|
8
|
-
var _appiumWebdriveragent = require("appium-webdriveragent");
|
|
9
|
-
var _utils = require("./utils");
|
|
10
|
-
var _simulatorManagement = require("./simulator-management");
|
|
11
|
-
var _asyncbox = require("asyncbox");
|
|
12
|
-
const DEFAULT_SIM_NAME = 'iPhone 12';
|
|
13
|
-
async function build() {
|
|
14
|
-
const xcodeVersion = await (0, _utils.getAndCheckXcodeVersion)();
|
|
15
|
-
const iosVersion = await (0, _utils.getAndCheckIosSdkVersion)();
|
|
16
|
-
const deviceName = (0, _utils.translateDeviceName)(iosVersion, DEFAULT_SIM_NAME);
|
|
17
|
-
const device = await (0, _simulatorManagement.getExistingSim)({
|
|
18
|
-
platformVersion: iosVersion,
|
|
19
|
-
deviceName
|
|
20
|
-
});
|
|
21
|
-
const wda = new _appiumWebdriveragent.WebDriverAgent(xcodeVersion, {
|
|
22
|
-
iosSdkVersion: iosVersion,
|
|
23
|
-
platformVersion: iosVersion,
|
|
24
|
-
showXcodeLog: true,
|
|
25
|
-
device
|
|
26
|
-
});
|
|
27
|
-
await wda.xcodebuild.start(true);
|
|
28
|
-
}
|
|
29
|
-
if (require.main === module) {
|
|
30
|
-
(0, _asyncbox.asyncify)(build);
|
|
31
|
-
}
|
|
32
|
-
var _default = build;
|
|
33
|
-
exports.default = _default;
|
|
34
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfYXBwaXVtV2ViZHJpdmVyYWdlbnQiLCJyZXF1aXJlIiwiX3V0aWxzIiwiX3NpbXVsYXRvck1hbmFnZW1lbnQiLCJfYXN5bmNib3giLCJERUZBVUxUX1NJTV9OQU1FIiwiYnVpbGQiLCJ4Y29kZVZlcnNpb24iLCJnZXRBbmRDaGVja1hjb2RlVmVyc2lvbiIsImlvc1ZlcnNpb24iLCJnZXRBbmRDaGVja0lvc1Nka1ZlcnNpb24iLCJkZXZpY2VOYW1lIiwidHJhbnNsYXRlRGV2aWNlTmFtZSIsImRldmljZSIsImdldEV4aXN0aW5nU2ltIiwicGxhdGZvcm1WZXJzaW9uIiwid2RhIiwiV2ViRHJpdmVyQWdlbnQiLCJpb3NTZGtWZ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ZQUFZLEVBQUU7SUFDM0NXLGFBQWEsRUFBRVQsVUFBVTtJQUN6Qk0sZUFBZSxFQUFFTixVQUFVO0lBQzNCVSxZQUFZLEVBQUUsSUFBSTtJQUNsQk47RUFDRixDQUFDLENBQUM7RUFDRixNQUFNRyxHQUFHLENBQUNJLFVBQVUsQ0FBQ0MsS0FBSyxDQUFDLElBQUksQ0FBQztBQUNsQztBQUVBLElBQUlwQixPQUFPLENBQUNxQixJQUFJLEtBQUtDLE1BQU0sRUFBRTtFQUMzQixJQUFBQyxrQkFBUSxFQUFDbEIsS0FBSyxDQUFDO0FBQ2pCO0FBQUMsSUFBQW1CLFFBQUEsR0FFY25CLEtBQUs7QUFBQW9CLE9BQUEsQ0FBQUMsT0FBQSxHQUFBRixRQUFBIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-wda.js","names":["_appiumWebdriveragent","require","_utils","_simulatorManagement","_asyncbox","DEFAULT_SIM_NAME","build","xcodeVersion","getAndCheckXcodeVersion","iosVersion","getAndCheckIosSdkVersion","deviceName","translateDeviceName","device","getExistingSim","platformVersion","wda","WebDriverAgent","iosSdkVersion","showXcodeLog","xcodebuild","start","main","module","asyncify","_default","exports","default"],"sources":["../../lib/build-wda.js"],"sourcesContent":["import { WebDriverAgent } from 'appium-webdriveragent';\nimport { translateDeviceName, getAndCheckXcodeVersion, getAndCheckIosSdkVersion } from './utils';\nimport { getExistingSim } from './simulator-management';\nimport { asyncify } from 'asyncbox';\n\nconst DEFAULT_SIM_NAME = 'iPhone 12';\n\n// TODO: allow passing in all the various build params as CLI args\nasync function build () {\n const xcodeVersion = await getAndCheckXcodeVersion();\n const iosVersion = await getAndCheckIosSdkVersion();\n const deviceName = translateDeviceName(iosVersion, DEFAULT_SIM_NAME);\n const device = await getExistingSim({\n platformVersion: iosVersion,\n deviceName\n });\n const wda = new WebDriverAgent(xcodeVersion, {\n iosSdkVersion: iosVersion,\n platformVersion: iosVersion,\n showXcodeLog: true,\n device,\n });\n await wda.xcodebuild.start(true);\n}\n\nif (require.main === module) {\n asyncify(build);\n}\n\nexport default build;\n"],"mappings":";;;;;;;AAAA,IAAAA,qBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,oBAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AAEA,MAAMI,gBAAgB,GAAG,WAAW;AAGpC,eAAeC,KAAKA,CAAA,EAAI;EACtB,MAAMC,YAAY,GAAG,MAAM,IAAAC,8BAAuB,GAAE;EACpD,MAAMC,UAAU,GAAG,MAAM,IAAAC,+BAAwB,GAAE;EACnD,MAAMC,UAAU,GAAG,IAAAC,0BAAmB,EAACH,UAAU,EAAEJ,gBAAgB,CAAC;EACpE,MAAMQ,MAAM,GAAG,MAAM,IAAAC,mCAAc,EAAC;IAClCC,eAAe,EAAEN,UAAU;IAC3BE;EACF,CAAC,CAAC;EACF,MAAMK,GAAG,GAAG,IAAIC,oCAAc,CAACV,YAAY,EAAE;IAC3CW,aAAa,EAAET,UAAU;IACzBM,eAAe,EAAEN,UAAU;IAC3BU,YAAY,EAAE,IAAI;IAClBN;EACF,CAAC,CAAC;EACF,MAAMG,GAAG,CAACI,UAAU,CAACC,KAAK,CAAC,IAAI,CAAC;AAClC;AAEA,IAAIpB,OAAO,CAACqB,IAAI,KAAKC,MAAM,EAAE;EAC3B,IAAAC,kBAAQ,EAAClB,KAAK,CAAC;AACjB;AAAC,IAAAmB,QAAA,GAEcnB,KAAK;AAAAoB,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
|
package/lib/build-wda.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { WebDriverAgent } from 'appium-webdriveragent';
|
|
2
|
-
import { translateDeviceName, getAndCheckXcodeVersion, getAndCheckIosSdkVersion } from './utils';
|
|
3
|
-
import { getExistingSim } from './simulator-management';
|
|
4
|
-
import { asyncify } from 'asyncbox';
|
|
5
|
-
|
|
6
|
-
const DEFAULT_SIM_NAME = 'iPhone 12';
|
|
7
|
-
|
|
8
|
-
// TODO: allow passing in all the various build params as CLI args
|
|
9
|
-
async function build () {
|
|
10
|
-
const xcodeVersion = await getAndCheckXcodeVersion();
|
|
11
|
-
const iosVersion = await getAndCheckIosSdkVersion();
|
|
12
|
-
const deviceName = translateDeviceName(iosVersion, DEFAULT_SIM_NAME);
|
|
13
|
-
const device = await getExistingSim({
|
|
14
|
-
platformVersion: iosVersion,
|
|
15
|
-
deviceName
|
|
16
|
-
});
|
|
17
|
-
const wda = new WebDriverAgent(xcodeVersion, {
|
|
18
|
-
iosSdkVersion: iosVersion,
|
|
19
|
-
platformVersion: iosVersion,
|
|
20
|
-
showXcodeLog: true,
|
|
21
|
-
device,
|
|
22
|
-
});
|
|
23
|
-
await wda.xcodebuild.start(true);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
if (require.main === module) {
|
|
27
|
-
asyncify(build);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export default build;
|