-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathproperties-catalog.json
More file actions
3683 lines (3683 loc) · 119 KB
/
Copy pathproperties-catalog.json
File metadata and controls
3683 lines (3683 loc) · 119 KB
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
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[
{
"section": "Platform",
"key": "SHAFT.CrossBrowserMode",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "off",
"possibleValues": "off, sequential, parallelized",
"description": "Cross Browser Mode allows SHAFT to run your test class against Chrome, Firefox, and Safari! You need to have 'Docker Desktop' installed on your machine, and configured to use Linux images. Off → Your tests will run normally and respect your configuration. Sequential → Your tests will run on Chrome, Firefox, and Safari in sequence. Parallelized → Your tests will run on Chrome, Firefox and Safari in parallel. And for each browser they will run in sequence."
},
{
"section": "Platform",
"key": "executionAddress",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "local",
"possibleValues": "local, dockerized, browserstack, host:port, http://host:port/wd/hub",
"description": "For Appium, set the below settings and move to the Mobile tab to continue. For BrowserStack, set the \"Target Operating System\" below, and the \"Automation Name\" in the Mobile tab, then configure the \"browserStack.properties\" file in your project directory."
},
{
"section": "Platform",
"key": "targetOperatingSystem",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "Linux",
"possibleValues": "Linux, Windows, Mac, Android, iOS",
"description": "The target operating system for test execution."
},
{
"section": "Platform",
"key": "com.SHAFT.proxySettings",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "host:port",
"description": "Used to configure testing behind a proxy. e.g. corporate proxy."
},
{
"section": "Platform",
"key": "driverProxySettings",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "To enable or disable the driver proxy."
},
{
"section": "Platform",
"key": "jvmProxySettings",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "To enable or disable the JVM proxy."
},
{
"section": "Platform",
"key": "enableBiDi",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "To enable or disable the WebDriver BiDi protocol."
},
{
"section": "Platform",
"key": "remotePreflightEnabled",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Query Selenium Grid /status and /graphql before remote sessions and attach a preflight summary when Grid metadata is available."
},
{
"section": "Platform",
"key": "remoteAdaptiveSessionThrottling",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Limit local remote-session creation to the detected matching Selenium Grid slot count."
},
{
"section": "Platform",
"key": "remotePreflightFailFast",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Fail before WebDriver retries when Grid preflight proves the requested browser slot is unavailable."
},
{
"section": "Platform",
"key": "remotePreflightTimeoutSeconds",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "5",
"possibleValues": "seconds",
"description": "Timeout for each Grid preflight /status or /graphql call."
},
{
"section": "Web",
"key": "targetBrowserName",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "chrome",
"possibleValues": "chrome, firefox, safari, edge",
"description": "The target web browser for test execution."
},
{
"section": "Web",
"key": "forceBrowserDownload",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "This only works for Chrome and Firefox. Allows Selenium Manager to download a Chrome for Testing browser build compatible with the current Selenium/browser resolution flow."
},
{
"section": "Web",
"key": "headlessExecution",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "This only works for Chrome, Firefox and Edge."
},
{
"section": "Web",
"key": "incognitoMode",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Enable browser incognito/private mode."
},
{
"section": "Web",
"key": "isMobileEmulation",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "This only works for Chrome and Edge."
},
{
"section": "Web",
"key": "mobileEmulation.isCustomDevice",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "This only works for Chrome and Edge."
},
{
"section": "Web",
"key": "mobileEmulation.deviceName",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "blackberryZ30, BlackberryPlayBook, galaxyNote3, galaxyNoteII, galaxySIII, galaxyS5, galaxyS8, samsungGalaxyS8+, galaxyS9+, galaxyTabS4, galaxyFold, samsungGalaxyS20Ultra, samsungGalaxyA51/71, kindleFireHDX, lgOptimusL70, microsoftLumia550, microsoftLumia950, motoG4, nexus10, nexus4, nexus5, nexus5X, nexus6, nexus6P, nexus7, nokiaLumia520, nokiaN9, nestHub, nestHubMax, pixel2, pixel2XL, pixel3, pixel3XL, pixel4, pixel5, jioPhone2, iPhone4, iPhone5/SE, iPhone6/7/8, iPhone6/7/8Plus, iPhoneSE, iPhoneX, iPhoneXR, iPhone12Pro, iPad, iPadPro, iPadAir, iPadMini, surfacePro7, surfaceDuo",
"description": "This only works for Chrome and Edge."
},
{
"section": "Web",
"key": "mobileEmulation.width",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "",
"possibleValues": "example: 360",
"description": "This only works for Chrome and Edge."
},
{
"section": "Web",
"key": "mobileEmulation.height",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "",
"possibleValues": "example: 600",
"description": "This only works for Chrome and Edge."
},
{
"section": "Web",
"key": "mobileEmulation.pixelRatio",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "1.0",
"possibleValues": "example: 2.0",
"description": "This only works for Chrome and Edge."
},
{
"section": "Web",
"key": "mobileEmulation.userAgent",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0",
"description": "This only works for Chrome and Edge."
},
{
"section": "Web",
"key": "baseURL",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: https://github.com/ShaftHQ/SHAFT_ENGINE",
"description": "Base URL for the application under test."
},
{
"section": "Web",
"key": "browserWindowWidth",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "1920",
"possibleValues": "",
"description": "Won't work if autoMaximizeBrowserWindow is enabled."
},
{
"section": "Web",
"key": "browserWindowHeight",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "1080",
"possibleValues": "",
"description": "Won't work if autoMaximizeBrowserWindow is enabled."
},
{
"section": "Web",
"key": "pageLoadStrategy",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "none",
"possibleValues": "none, eager, normal",
"description": "Controls when Selenium considers the page loaded."
},
{
"section": "Web",
"key": "readinessState",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "none",
"possibleValues": "interactive, none, complete",
"description": "Controls the document readiness state to wait for."
},
{
"section": "Web",
"key": "storageStatePath",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: target/auth-state.json",
"description": "Path to a storage-state JSON file automatically loaded into a freshly-initialized driver. SHAFT navigates to the file's recorded origin (falling back to baseURL) first; a load failure is logged as a warning and never fails driver init. Blank (default) disables the feature."
},
{
"section": "Playwright",
"key": "playwright.browserName",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "chromium, chrome, firefox, webkit, safari, edge",
"description": "Optional Playwright browser engine override. When empty, SHAFT uses the device descriptor browser type or falls back to targetBrowserName."
},
{
"section": "Playwright",
"key": "playwright.deviceName",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "Any Microsoft Playwright device descriptor name, Galaxy S26 Ultra, iPhone 17 Pro Max",
"description": "Device descriptor applied to new browser contexts."
},
{
"section": "Playwright",
"key": "playwright.connectionMode",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "local",
"possibleValues": "local, connect, connectOverCDP",
"description": "Launch a local browser, connect over Playwright protocol, or connect over CDP."
},
{
"section": "Playwright",
"key": "playwright.endpoint",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "WebSocket or CDP endpoint",
"description": "Remote endpoint used when connectionMode is connect or connectOverCDP."
},
{
"section": "Playwright",
"key": "playwright.channel",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "Chromium channel such as chrome or msedge",
"description": "Optional Chromium channel passed to Playwright launch options."
},
{
"section": "Playwright",
"key": "playwright.slowMo",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "0",
"possibleValues": "milliseconds",
"description": "Slow motion delay for Playwright actions."
},
{
"section": "Playwright",
"key": "playwright.launchTimeoutMilliseconds",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "30000",
"possibleValues": "milliseconds",
"description": "Timeout for launching or connecting to a browser."
},
{
"section": "Playwright",
"key": "playwright.defaultTimeoutMilliseconds",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "30000",
"possibleValues": "milliseconds",
"description": "Default timeout applied to Playwright page actions."
},
{
"section": "Playwright",
"key": "playwright.navigationTimeoutMilliseconds",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "30000",
"possibleValues": "milliseconds",
"description": "Default timeout applied to Playwright page navigation."
},
{
"section": "Playwright",
"key": "playwright.artifactsDirectory",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "target/playwright-artifacts",
"possibleValues": "relative or absolute path",
"description": "Directory for Playwright traces and artifacts."
},
{
"section": "Playwright",
"key": "playwright.downloadsDirectory",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "relative or absolute path",
"description": "Optional downloads directory. Empty uses Playwright defaults."
},
{
"section": "Playwright",
"key": "playwright.acceptDownloads",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Allow Playwright browser contexts to accept downloads."
},
{
"section": "Playwright",
"key": "playwright.tracing.enabled",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Start Playwright tracing for the session."
},
{
"section": "Playwright",
"key": "playwright.tracing.onRetryOnly",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Enable tracing automatically only during SHAFT retry evidence capture."
},
{
"section": "Playwright",
"key": "playwright.tracing.screenshots",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Include screenshots in trace artifacts."
},
{
"section": "Playwright",
"key": "playwright.tracing.snapshots",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Include DOM snapshots in trace artifacts."
},
{
"section": "Playwright",
"key": "playwright.tracing.sources",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Include source files in trace artifacts."
},
{
"section": "Mobile",
"key": "platformName",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: Android, iOS",
"description": "Raw Appium platformName capability. Usually derived automatically from targetOperatingSystem; set this to override it directly."
},
{
"section": "Mobile",
"key": "mobile_platformVersion",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: 11.0, 13.0",
"description": "You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "Mobile",
"key": "mobile_deviceName",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: ANDROID_EMULATOR",
"description": "You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "Mobile",
"key": "mobile_automationName",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "UiAutomator2",
"possibleValues": "UiAutomator2, Espresso, XCUITest",
"description": "You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "Mobile",
"key": "mobile_udid",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: RQ3005TAQP",
"description": "Unique device identifier of the connected physical device (leave empty if not applicable). You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "Mobile",
"key": "browserName",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "chrome, Chromium, Browser, Safari, samsung",
"description": "You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "Mobile",
"key": "MobileBrowserVersion",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: 83.0.4103.39",
"description": "The WebDriver executable version compatible with the target mobile browser. Check Selenium driver requirements for browser-specific compatibility. You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "Mobile",
"key": "mobile_app",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "relativePath/to/myApp.apk, absolutePath/to/myApp.apk, http://myapp.com/app.ipa",
"description": "You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "Mobile",
"key": "mobile_appPackage",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: com.example.android.myApp",
"description": "You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "Mobile",
"key": "mobile_appActivity",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: .MainActivity",
"description": "You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "Mobile",
"key": "mobile_bundleId",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "example: com.example.ios.myApp",
"description": "iOS bundle identifier for launching an already installed app without providing mobile_app. You can add any property from the List of Appium Capabilities directly to your .property files or via CLI arguments, just make sure to add mobile_ as a prefix."
},
{
"section": "API",
"key": "swagger.validation.enabled",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Enables or disables Swagger/OpenAPI contract validation for API testing."
},
{
"section": "API",
"key": "swagger.validation.url",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "",
"description": "URL or file path to the OpenAPI schema for validation."
},
{
"section": "API",
"key": "openapi.coverage.report.enabled",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Generates an end-of-run OpenAPI operation coverage report using swagger.validation.url as the spec source."
},
{
"section": "API",
"key": "openapi.coverage.threshold",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "0",
"possibleValues": "",
"description": "Minimum covered operation percentage required for a passing run; 0 disables threshold enforcement."
},
{
"section": "API",
"key": "shaft.contract.sensitiveKeys",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "authorization,cookie,set-cookie,password,passwd,secret,token,api-key,apikey,access-key,accesskey",
"possibleValues": "",
"description": "Configured sensitive key fragments."
},
{
"section": "API",
"key": "shaft.contract.volatileKeys",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "requestId,traceId,spanId,sessionId,nonce,timestamp,createdAt,updatedAt,expiresAt,date,etag",
"possibleValues": "",
"description": "Configured volatile key names."
},
{
"section": "Capture",
"key": "capture.api.enabled",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Enable or disable automatic capture of web API network traffic during test execution. Requires Chrome or Edge browser with DevTools Protocol support."
},
{
"section": "Capture",
"key": "capture.api.maxBodyBytes",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "1048576",
"possibleValues": "bytes (integer)",
"description": "Maximum request/response body size to capture in bytes (1 MB). Bodies exceeding this limit are truncated in the capture session."
},
{
"section": "Capture",
"key": "capture.api.includeAssets",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Include asset requests (images, CSS, fonts, etc.) in API capture. When false, only data/API calls are recorded."
},
{
"section": "Capture",
"key": "capture.api.firstPartyOnly",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Capture only first-party API calls from the primary domain. When false, all cross-origin requests are included."
},
{
"section": "Capture",
"key": "capture.api.storeSecretsLocally",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "",
"possibleValues": "true, false",
"description": "Store authorization headers and sensitive data in the capture session. When false (default), secrets are referenced via bodyRefId instead.",
"sensitive": true
},
{
"section": "Capture",
"key": "capture.api.maxTransactions",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "500",
"possibleValues": "integer",
"description": "Maximum number of network transactions to retain per capture session."
},
{
"section": "Capture",
"key": "capture.api.urlIncludeGlobs",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "comma-separated glob patterns",
"description": "When non-empty, only URLs matching one of these glob patterns are captured."
},
{
"section": "Capture",
"key": "capture.api.urlExcludeGlobs",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "",
"possibleValues": "comma-separated glob patterns",
"description": "URLs matching one of these glob patterns are always excluded from capture."
},
{
"section": "Flags",
"key": "automaticallyAddRecommendedChromeOptions",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Automatically add recommended Chrome options for better stability."
},
{
"section": "Flags",
"key": "retryMaximumNumberOfAttempts",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "0",
"possibleValues": "example: 0, 1, 2, 3, 4, ...etc",
"description": "Maximum number of retry attempts after the first failed execution. JUnit retries run after @AfterEach cleanup and execute @BeforeEach again for isolated retry state."
},
{
"section": "Flags",
"key": "forceCaptureSupportingEvidenceOnRetry",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "When retrying a failed test, enable GIF/video/log evidence for the retry attempt."
},
{
"section": "Flags",
"key": "autoMaximizeBrowserWindow",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Automatically maximize browser window on launch."
},
{
"section": "Flags",
"key": "forceCheckForElementVisibility",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Force check for element visibility before interactions."
},
{
"section": "Flags",
"key": "forceCheckElementLocatorIsUnique",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Force check that element locator returns only one element. Still enforced on every retry within the identification timeout; only once that timeout is exhausted does SHAFT make one last-resort attempt to auto-resolve to a single displayed-and-enabled match before throwing MultipleElementsFoundException."
},
{
"section": "Flags",
"key": "forceCheckTextWasTypedCorrectly",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "In WebDriver element actions, after type, typeSecure, or typeAppend, compare the final element value/text with the expected typed text. SHAFT skips this comparison for special key sequences such as Keys.ENTER."
},
{
"section": "Flags",
"key": "scrollingMode",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "javascript",
"possibleValues": "javascript, native",
"description": "Mode for scrolling to elements."
},
{
"section": "Flags",
"key": "clearBeforeTypingMode",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "native",
"possibleValues": "native, backspace, off",
"description": "Replaces both deprecated attemptClearBeforeTyping and attemptClearBeforeTypingUsingBackspace flags. native = clear using native Selenium method, backspace = clear by deleting letter by letter, off = no clearing before typing."
},
{
"section": "Flags",
"key": "forceCheckNavigationWasSuccessful",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Force check that navigation to URL was successful."
},
{
"section": "Flags",
"key": "respectBuiltInWaitsInNativeMode",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Respect built-in waits when using native mode."
},
{
"section": "Flags",
"key": "forceCheckStatusOfRemoteServer",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Force check status of remote server before execution."
},
{
"section": "Flags",
"key": "clickUsingJavascriptWhenWebDriverClickFails",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Fallback to JavaScript click when native WebDriver click fails, including invalid-state and intercepted-click failures."
},
{
"section": "Flags",
"key": "autoCloseDriverInstance",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Automatically close driver instance after test execution."
},
{
"section": "Flags",
"key": "automaticallyAssertResponseStatusCode",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Automatically assert API response status code."
},
{
"section": "Flags",
"key": "maximumPerformanceMode",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "0",
"possibleValues": "0, 1, 2",
"description": "0 → Disabled, 1 → Without Headless Execution, 2 → With Headless Execution Enabling maximumPerformanceMode will disable all complementary features to ensure the fastest execution possible with a 400% calculated performance boost."
},
{
"section": "Flags",
"key": "skipTestsWithLinkedIssues",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "It is recommended to leave this feature disabled unless you explicitly want to skip any tests that have the @Issue or @Issues annotation."
},
{
"section": "Flags",
"key": "attemptToClickBeforeTyping",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Click the element before typing when clearBeforeTypingMode is not native."
},
{
"section": "Flags",
"key": "disableCache",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "To disable the cache in a browser session."
},
{
"section": "Flags",
"key": "enableTrueNativeMode",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Enable true native mode for mobile testing."
},
{
"section": "Flags",
"key": "handleNonSelectDropDown",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Handle non-select dropdown elements."
},
{
"section": "Flags",
"key": "validateSwipeToElement",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Validate swipe to element action on mobile."
},
{
"section": "Flags",
"key": "disableSslCertificateCheck",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Disable SSL certificate validation."
},
{
"section": "Flags",
"key": "telemetry.enabled",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Enable telemetry data collection for SHAFT usage analytics."
},
{
"section": "Reporting",
"key": "captureElementName",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Capture element name in reports for better readability."
},
{
"section": "Reporting",
"key": "captureWebDriverLogs",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Capture WebDriver logs for debugging purposes."
},
{
"section": "Reporting",
"key": "alwaysLogDiscreetly",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Always log discreetly without detailed output."
},
{
"section": "Reporting",
"key": "debugMode",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Enable debug mode for verbose logging."
},
{
"section": "Reporting",
"key": "openLighthouseReportWhileExecution",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Open Lighthouse performance report during execution."
},
{
"section": "Reporting",
"key": "cleanSummaryReportsDirectoryBeforeExecution",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Clean summary reports directory before execution."
},
{
"section": "Reporting",
"key": "openExecutionSummaryReportAfterExecution",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Open execution summary report after test execution."
},
{
"section": "Reporting",
"key": "disableLogging",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Disable all logging output."
},
{
"section": "Reporting",
"key": "attachFullLog",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Attach a streamed, deduplicated snapshot of the full engine log to the Allure report after test execution without deleting the live log file."
},
{
"section": "Reporting",
"key": "evidenceLevel",
"targetFile": "custom.properties",
"type": "text",
"defaultValue": "FAILURE_ONLY",
"possibleValues": "FAILURE_ONLY, BALANCED, FAST, FULL, CUSTOM",
"description": "Select the evidence profile. Profile values except CUSTOM override granular screenshot, page-source, GIF, video, WebDriver-log, full-log, diagnostics, and trace controls."
},
{
"section": "Reporting",
"key": "locatorHealthReportEnabled",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Generate end-of-run HTML/JSON locator health reports and attach them to Allure."
},
{
"section": "Reporting",
"key": "slowLocatorThresholdMillis",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "750",
"possibleValues": "Integer milliseconds",
"description": "Mark locator lookups at or above this duration as slow warnings."
},
{
"section": "Reporting",
"key": "failOnLocatorHealthWarnings",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Fail the run when locator health warnings are present."
},
{
"section": "Reporting",
"key": "shaft.locatorHealth.enabled",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "false",
"possibleValues": "true, false",
"description": "Generate end-of-run locator health reports."
},
{
"section": "Reporting",
"key": "shaft.locatorHealth.warnBelowScore",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "70",
"possibleValues": "0 to 100",
"description": "Mark locators below this health score as risky in the dashboard."
},
{
"section": "Reporting",
"key": "shaft.locatorHealth.attachDashboard",
"targetFile": "custom.properties",
"type": "boolean",
"defaultValue": "true",
"possibleValues": "true, false",
"description": "Attach the HTML locator health dashboard to Allure."
},
{
"section": "Reporting",
"key": "shaft.locatorHealth.failBelowScore",
"targetFile": "custom.properties",
"type": "number",
"defaultValue": "-1",
"possibleValues": "-1 or 0 to 100",
"description": "Fail the run when any locator score is below this threshold; -1 disables score-based failure."