screw-bugs 0.1.7 → 0.1.9

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.
Files changed (58) hide show
  1. package/README.md +83 -13
  2. package/dist/browser-playwright/launch.js +27 -10
  3. package/dist/browser-playwright/page.d.ts +50 -28
  4. package/dist/browser-playwright/page.js +101 -91
  5. package/dist/browser-playwright/recorder.d.ts +154 -0
  6. package/dist/browser-playwright/recorder.js +382 -0
  7. package/dist/build-info.json +3 -3
  8. package/dist/cli/commands.js +56 -11
  9. package/dist/cli/mcp.d.ts +11 -4
  10. package/dist/cli/mcp.js +86 -23
  11. package/dist/cli/operations.d.ts +30 -2
  12. package/dist/cli/operations.js +126 -20
  13. package/dist/cli/report-links.js +2 -2
  14. package/dist/cli/report-server.d.ts +41 -9
  15. package/dist/cli/report-server.js +139 -23
  16. package/dist/cli/share.d.ts +71 -4
  17. package/dist/cli/share.js +540 -109
  18. package/dist/cli/sign-in.d.ts +22 -10
  19. package/dist/cli/sign-in.js +23 -23
  20. package/dist/core/engine.js +54 -13
  21. package/dist/core/liveness.js +3 -1
  22. package/dist/core/services.d.ts +29 -4
  23. package/dist/core/share.d.ts +31 -0
  24. package/dist/core/share.js +139 -0
  25. package/dist/core/steps.d.ts +5 -0
  26. package/dist/core/steps.js +15 -1
  27. package/dist/core/video.d.ts +6 -0
  28. package/dist/core/video.js +8 -0
  29. package/dist/report/html.d.ts +4 -2
  30. package/dist/report/html.js +36 -13
  31. package/dist/report/icons.d.ts +3 -0
  32. package/dist/report/icons.js +5 -1
  33. package/dist/report/index.d.ts +3 -1
  34. package/dist/report/index.js +3 -1
  35. package/dist/report/live.d.ts +7 -0
  36. package/dist/report/live.js +135 -0
  37. package/dist/report/menu-bar.d.ts +3 -3
  38. package/dist/report/menu-bar.js +3 -3
  39. package/dist/report/player.d.ts +3 -3
  40. package/dist/report/player.js +3 -3
  41. package/dist/report/share-page.d.ts +48 -0
  42. package/dist/report/share-page.js +291 -0
  43. package/dist/report/styles.d.ts +2 -0
  44. package/dist/report/styles.js +2 -2
  45. package/dist/report/view.js +2 -0
  46. package/dist/report/walkthrough.d.ts +5 -2
  47. package/dist/report/walkthrough.js +17 -5
  48. package/dist/schema/accounts.js +10 -1
  49. package/dist/schema/evidence.d.ts +15 -8
  50. package/dist/schema/evidence.js +9 -4
  51. package/dist/schema/findings.js +1 -1
  52. package/dist/schema/job.d.ts +205 -65
  53. package/dist/schema/job.js +63 -11
  54. package/dist/schema/ledger.d.ts +80 -16
  55. package/dist/schema/ledger.js +36 -0
  56. package/dist/schema/share.d.ts +17 -0
  57. package/dist/schema/share.js +22 -0
  58. package/package.json +1 -1
@@ -146,10 +146,10 @@ export declare const SCROLL_BY_MAX = 20000;
146
146
  export declare const Step: Schema.Union<readonly [Schema.Struct<{
147
147
  readonly action: Schema.Literal<"goto">;
148
148
  readonly url: Schema.NonEmptyString;
149
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
149
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
150
150
  }>, Schema.Struct<{
151
151
  readonly action: Schema.Literal<"reload">;
152
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
152
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
153
153
  }>, Schema.Struct<{
154
154
  readonly action: Schema.Literal<"click">;
155
155
  readonly target: Schema.Struct<{
@@ -177,7 +177,35 @@ export declare const Step: Schema.Union<readonly [Schema.Struct<{
177
177
  readonly frame: Schema.optionalKey<Schema.Unknown>;
178
178
  }>>]>>;
179
179
  }>;
180
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
180
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
181
+ }>, Schema.Struct<{
182
+ readonly action: Schema.Literal<"hover">;
183
+ readonly target: Schema.Struct<{
184
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
185
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
186
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
187
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
188
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
189
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
190
+ readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
191
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
192
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
193
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
194
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
195
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
196
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
197
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
198
+ }>, Schema.$Array<Schema.Struct<{
199
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
200
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
201
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
202
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
203
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
204
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
205
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
206
+ }>>]>>;
207
+ }>;
208
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
181
209
  }>, Schema.Struct<{
182
210
  readonly action: Schema.Literal<"fill">;
183
211
  readonly target: Schema.Struct<{
@@ -206,7 +234,7 @@ export declare const Step: Schema.Union<readonly [Schema.Struct<{
206
234
  }>>]>>;
207
235
  }>;
208
236
  readonly value: Schema.String;
209
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
237
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
210
238
  }>, Schema.Struct<{
211
239
  readonly action: Schema.Literal<"upload">;
212
240
  readonly target: Schema.Struct<{
@@ -239,11 +267,11 @@ export declare const Step: Schema.Union<readonly [Schema.Struct<{
239
267
  readonly about: Schema.optionalKey<Schema.String>;
240
268
  readonly allowMismatch: Schema.optionalKey<Schema.Boolean>;
241
269
  }>]>>;
242
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
270
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
243
271
  }>, Schema.Struct<{
244
272
  readonly action: Schema.Literal<"press">;
245
273
  readonly key: Schema.NonEmptyString;
246
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
274
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
247
275
  }>, Schema.Struct<{
248
276
  readonly action: Schema.Literal<"expectText">;
249
277
  readonly text: Schema.NonEmptyString;
@@ -264,7 +292,7 @@ export declare const Step: Schema.Union<readonly [Schema.Struct<{
264
292
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
265
293
  readonly frame: Schema.optionalKey<Schema.Unknown>;
266
294
  }>>]>>;
267
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
295
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
268
296
  }>, Schema.Struct<{
269
297
  readonly action: Schema.Literal<"expectNoText">;
270
298
  readonly text: Schema.NonEmptyString;
@@ -310,7 +338,7 @@ export declare const Step: Schema.Union<readonly [Schema.Struct<{
310
338
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
311
339
  readonly frame: Schema.optionalKey<Schema.Unknown>;
312
340
  }>>]>>;
313
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
341
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
314
342
  }>, Schema.Struct<{
315
343
  readonly action: Schema.Literal<"waitFor">;
316
344
  readonly target: Schema.Struct<{
@@ -339,7 +367,7 @@ export declare const Step: Schema.Union<readonly [Schema.Struct<{
339
367
  }>>]>>;
340
368
  }>;
341
369
  readonly state: Schema.optionalKey<Schema.Literals<readonly ["visible", "hidden", "attached", "detached"]>>;
342
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
370
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
343
371
  }>, Schema.Struct<{
344
372
  readonly action: Schema.Literal<"scroll">;
345
373
  readonly target: Schema.optionalKey<Schema.Struct<{
@@ -368,7 +396,7 @@ export declare const Step: Schema.Union<readonly [Schema.Struct<{
368
396
  }>>]>>;
369
397
  }>>;
370
398
  readonly to: Schema.optionalKey<Schema.Literals<readonly ["top", "bottom"]>>;
371
- readonly by: Schema.optionalKey<Schema.Number>;
399
+ readonly by: Schema.optionalKey<Schema.Finite>;
372
400
  readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
373
401
  readonly role: Schema.optionalKey<Schema.NonEmptyString>;
374
402
  readonly name: Schema.optionalKey<Schema.NonEmptyString>;
@@ -386,11 +414,11 @@ export declare const Step: Schema.Union<readonly [Schema.Struct<{
386
414
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
387
415
  readonly frame: Schema.optionalKey<Schema.Unknown>;
388
416
  }>>]>>;
389
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
417
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
390
418
  }>, Schema.Struct<{
391
419
  readonly action: Schema.Literal<"expectUrl">;
392
420
  readonly includes: Schema.NonEmptyString;
393
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
421
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
394
422
  }>, Schema.Struct<{
395
423
  readonly action: Schema.Literal<"expectLink">;
396
424
  readonly target: Schema.Struct<{
@@ -420,7 +448,7 @@ export declare const Step: Schema.Union<readonly [Schema.Struct<{
420
448
  }>;
421
449
  readonly href: Schema.NonEmptyString;
422
450
  readonly match: Schema.optionalKey<Schema.Literals<readonly ["contains", "exact"]>>;
423
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
451
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
424
452
  }>, Schema.Struct<{
425
453
  readonly action: Schema.Literal<"screenshot">;
426
454
  readonly name: Schema.String;
@@ -448,10 +476,10 @@ export declare const CaseSpec: Schema.Struct<{
448
476
  readonly steps: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
449
477
  readonly action: Schema.Literal<"goto">;
450
478
  readonly url: Schema.NonEmptyString;
451
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
479
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
452
480
  }>, Schema.Struct<{
453
481
  readonly action: Schema.Literal<"reload">;
454
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
482
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
455
483
  }>, Schema.Struct<{
456
484
  readonly action: Schema.Literal<"click">;
457
485
  readonly target: Schema.Struct<{
@@ -479,7 +507,35 @@ export declare const CaseSpec: Schema.Struct<{
479
507
  readonly frame: Schema.optionalKey<Schema.Unknown>;
480
508
  }>>]>>;
481
509
  }>;
482
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
510
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
511
+ }>, Schema.Struct<{
512
+ readonly action: Schema.Literal<"hover">;
513
+ readonly target: Schema.Struct<{
514
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
515
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
516
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
517
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
518
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
519
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
520
+ readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
521
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
522
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
523
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
524
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
525
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
526
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
527
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
528
+ }>, Schema.$Array<Schema.Struct<{
529
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
530
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
531
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
532
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
533
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
534
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
535
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
536
+ }>>]>>;
537
+ }>;
538
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
483
539
  }>, Schema.Struct<{
484
540
  readonly action: Schema.Literal<"fill">;
485
541
  readonly target: Schema.Struct<{
@@ -508,7 +564,7 @@ export declare const CaseSpec: Schema.Struct<{
508
564
  }>>]>>;
509
565
  }>;
510
566
  readonly value: Schema.String;
511
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
567
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
512
568
  }>, Schema.Struct<{
513
569
  readonly action: Schema.Literal<"upload">;
514
570
  readonly target: Schema.Struct<{
@@ -541,11 +597,11 @@ export declare const CaseSpec: Schema.Struct<{
541
597
  readonly about: Schema.optionalKey<Schema.String>;
542
598
  readonly allowMismatch: Schema.optionalKey<Schema.Boolean>;
543
599
  }>]>>;
544
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
600
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
545
601
  }>, Schema.Struct<{
546
602
  readonly action: Schema.Literal<"press">;
547
603
  readonly key: Schema.NonEmptyString;
548
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
604
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
549
605
  }>, Schema.Struct<{
550
606
  readonly action: Schema.Literal<"expectText">;
551
607
  readonly text: Schema.NonEmptyString;
@@ -566,7 +622,7 @@ export declare const CaseSpec: Schema.Struct<{
566
622
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
567
623
  readonly frame: Schema.optionalKey<Schema.Unknown>;
568
624
  }>>]>>;
569
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
625
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
570
626
  }>, Schema.Struct<{
571
627
  readonly action: Schema.Literal<"expectNoText">;
572
628
  readonly text: Schema.NonEmptyString;
@@ -612,7 +668,7 @@ export declare const CaseSpec: Schema.Struct<{
612
668
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
613
669
  readonly frame: Schema.optionalKey<Schema.Unknown>;
614
670
  }>>]>>;
615
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
671
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
616
672
  }>, Schema.Struct<{
617
673
  readonly action: Schema.Literal<"waitFor">;
618
674
  readonly target: Schema.Struct<{
@@ -641,7 +697,7 @@ export declare const CaseSpec: Schema.Struct<{
641
697
  }>>]>>;
642
698
  }>;
643
699
  readonly state: Schema.optionalKey<Schema.Literals<readonly ["visible", "hidden", "attached", "detached"]>>;
644
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
700
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
645
701
  }>, Schema.Struct<{
646
702
  readonly action: Schema.Literal<"scroll">;
647
703
  readonly target: Schema.optionalKey<Schema.Struct<{
@@ -670,7 +726,7 @@ export declare const CaseSpec: Schema.Struct<{
670
726
  }>>]>>;
671
727
  }>>;
672
728
  readonly to: Schema.optionalKey<Schema.Literals<readonly ["top", "bottom"]>>;
673
- readonly by: Schema.optionalKey<Schema.Number>;
729
+ readonly by: Schema.optionalKey<Schema.Finite>;
674
730
  readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
675
731
  readonly role: Schema.optionalKey<Schema.NonEmptyString>;
676
732
  readonly name: Schema.optionalKey<Schema.NonEmptyString>;
@@ -688,11 +744,11 @@ export declare const CaseSpec: Schema.Struct<{
688
744
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
689
745
  readonly frame: Schema.optionalKey<Schema.Unknown>;
690
746
  }>>]>>;
691
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
747
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
692
748
  }>, Schema.Struct<{
693
749
  readonly action: Schema.Literal<"expectUrl">;
694
750
  readonly includes: Schema.NonEmptyString;
695
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
751
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
696
752
  }>, Schema.Struct<{
697
753
  readonly action: Schema.Literal<"expectLink">;
698
754
  readonly target: Schema.Struct<{
@@ -722,7 +778,7 @@ export declare const CaseSpec: Schema.Struct<{
722
778
  }>;
723
779
  readonly href: Schema.NonEmptyString;
724
780
  readonly match: Schema.optionalKey<Schema.Literals<readonly ["contains", "exact"]>>;
725
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
781
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
726
782
  }>, Schema.Struct<{
727
783
  readonly action: Schema.Literal<"screenshot">;
728
784
  readonly name: Schema.String;
@@ -768,10 +824,10 @@ export declare const JobSpec: Schema.Struct<{
768
824
  readonly steps: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
769
825
  readonly action: Schema.Literal<"goto">;
770
826
  readonly url: Schema.NonEmptyString;
771
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
827
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
772
828
  }>, Schema.Struct<{
773
829
  readonly action: Schema.Literal<"reload">;
774
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
830
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
775
831
  }>, Schema.Struct<{
776
832
  readonly action: Schema.Literal<"click">;
777
833
  readonly target: Schema.Struct<{
@@ -799,7 +855,35 @@ export declare const JobSpec: Schema.Struct<{
799
855
  readonly frame: Schema.optionalKey<Schema.Unknown>;
800
856
  }>>]>>;
801
857
  }>;
802
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
858
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
859
+ }>, Schema.Struct<{
860
+ readonly action: Schema.Literal<"hover">;
861
+ readonly target: Schema.Struct<{
862
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
863
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
864
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
865
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
866
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
867
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
868
+ readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
869
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
870
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
871
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
872
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
873
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
874
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
875
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
876
+ }>, Schema.$Array<Schema.Struct<{
877
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
878
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
879
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
880
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
881
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
882
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
883
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
884
+ }>>]>>;
885
+ }>;
886
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
803
887
  }>, Schema.Struct<{
804
888
  readonly action: Schema.Literal<"fill">;
805
889
  readonly target: Schema.Struct<{
@@ -828,7 +912,7 @@ export declare const JobSpec: Schema.Struct<{
828
912
  }>>]>>;
829
913
  }>;
830
914
  readonly value: Schema.String;
831
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
915
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
832
916
  }>, Schema.Struct<{
833
917
  readonly action: Schema.Literal<"upload">;
834
918
  readonly target: Schema.Struct<{
@@ -861,11 +945,11 @@ export declare const JobSpec: Schema.Struct<{
861
945
  readonly about: Schema.optionalKey<Schema.String>;
862
946
  readonly allowMismatch: Schema.optionalKey<Schema.Boolean>;
863
947
  }>]>>;
864
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
948
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
865
949
  }>, Schema.Struct<{
866
950
  readonly action: Schema.Literal<"press">;
867
951
  readonly key: Schema.NonEmptyString;
868
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
952
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
869
953
  }>, Schema.Struct<{
870
954
  readonly action: Schema.Literal<"expectText">;
871
955
  readonly text: Schema.NonEmptyString;
@@ -886,7 +970,7 @@ export declare const JobSpec: Schema.Struct<{
886
970
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
887
971
  readonly frame: Schema.optionalKey<Schema.Unknown>;
888
972
  }>>]>>;
889
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
973
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
890
974
  }>, Schema.Struct<{
891
975
  readonly action: Schema.Literal<"expectNoText">;
892
976
  readonly text: Schema.NonEmptyString;
@@ -932,7 +1016,7 @@ export declare const JobSpec: Schema.Struct<{
932
1016
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
933
1017
  readonly frame: Schema.optionalKey<Schema.Unknown>;
934
1018
  }>>]>>;
935
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1019
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
936
1020
  }>, Schema.Struct<{
937
1021
  readonly action: Schema.Literal<"waitFor">;
938
1022
  readonly target: Schema.Struct<{
@@ -961,7 +1045,7 @@ export declare const JobSpec: Schema.Struct<{
961
1045
  }>>]>>;
962
1046
  }>;
963
1047
  readonly state: Schema.optionalKey<Schema.Literals<readonly ["visible", "hidden", "attached", "detached"]>>;
964
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1048
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
965
1049
  }>, Schema.Struct<{
966
1050
  readonly action: Schema.Literal<"scroll">;
967
1051
  readonly target: Schema.optionalKey<Schema.Struct<{
@@ -990,7 +1074,7 @@ export declare const JobSpec: Schema.Struct<{
990
1074
  }>>]>>;
991
1075
  }>>;
992
1076
  readonly to: Schema.optionalKey<Schema.Literals<readonly ["top", "bottom"]>>;
993
- readonly by: Schema.optionalKey<Schema.Number>;
1077
+ readonly by: Schema.optionalKey<Schema.Finite>;
994
1078
  readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
995
1079
  readonly role: Schema.optionalKey<Schema.NonEmptyString>;
996
1080
  readonly name: Schema.optionalKey<Schema.NonEmptyString>;
@@ -1008,11 +1092,11 @@ export declare const JobSpec: Schema.Struct<{
1008
1092
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1009
1093
  readonly frame: Schema.optionalKey<Schema.Unknown>;
1010
1094
  }>>]>>;
1011
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1095
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1012
1096
  }>, Schema.Struct<{
1013
1097
  readonly action: Schema.Literal<"expectUrl">;
1014
1098
  readonly includes: Schema.NonEmptyString;
1015
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1099
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1016
1100
  }>, Schema.Struct<{
1017
1101
  readonly action: Schema.Literal<"expectLink">;
1018
1102
  readonly target: Schema.Struct<{
@@ -1042,7 +1126,7 @@ export declare const JobSpec: Schema.Struct<{
1042
1126
  }>;
1043
1127
  readonly href: Schema.NonEmptyString;
1044
1128
  readonly match: Schema.optionalKey<Schema.Literals<readonly ["contains", "exact"]>>;
1045
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1129
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1046
1130
  }>, Schema.Struct<{
1047
1131
  readonly action: Schema.Literal<"screenshot">;
1048
1132
  readonly name: Schema.String;
@@ -1103,10 +1187,10 @@ export declare const NewJobSpec: Schema.Struct<{
1103
1187
  readonly steps: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1104
1188
  readonly action: Schema.Literal<"goto">;
1105
1189
  readonly url: Schema.NonEmptyString;
1106
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1190
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1107
1191
  }>, Schema.Struct<{
1108
1192
  readonly action: Schema.Literal<"reload">;
1109
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1193
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1110
1194
  }>, Schema.Struct<{
1111
1195
  readonly action: Schema.Literal<"click">;
1112
1196
  readonly target: Schema.Struct<{
@@ -1134,7 +1218,35 @@ export declare const NewJobSpec: Schema.Struct<{
1134
1218
  readonly frame: Schema.optionalKey<Schema.Unknown>;
1135
1219
  }>>]>>;
1136
1220
  }>;
1137
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1221
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1222
+ }>, Schema.Struct<{
1223
+ readonly action: Schema.Literal<"hover">;
1224
+ readonly target: Schema.Struct<{
1225
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
1226
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
1227
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
1228
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
1229
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
1230
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1231
+ readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1232
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
1233
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
1234
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
1235
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
1236
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
1237
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1238
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
1239
+ }>, Schema.$Array<Schema.Struct<{
1240
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
1241
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
1242
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
1243
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
1244
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
1245
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1246
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
1247
+ }>>]>>;
1248
+ }>;
1249
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1138
1250
  }>, Schema.Struct<{
1139
1251
  readonly action: Schema.Literal<"fill">;
1140
1252
  readonly target: Schema.Struct<{
@@ -1163,7 +1275,7 @@ export declare const NewJobSpec: Schema.Struct<{
1163
1275
  }>>]>>;
1164
1276
  }>;
1165
1277
  readonly value: Schema.String;
1166
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1278
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1167
1279
  }>, Schema.Struct<{
1168
1280
  readonly action: Schema.Literal<"upload">;
1169
1281
  readonly target: Schema.Struct<{
@@ -1196,11 +1308,11 @@ export declare const NewJobSpec: Schema.Struct<{
1196
1308
  readonly about: Schema.optionalKey<Schema.String>;
1197
1309
  readonly allowMismatch: Schema.optionalKey<Schema.Boolean>;
1198
1310
  }>]>>;
1199
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1311
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1200
1312
  }>, Schema.Struct<{
1201
1313
  readonly action: Schema.Literal<"press">;
1202
1314
  readonly key: Schema.NonEmptyString;
1203
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1315
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1204
1316
  }>, Schema.Struct<{
1205
1317
  readonly action: Schema.Literal<"expectText">;
1206
1318
  readonly text: Schema.NonEmptyString;
@@ -1221,7 +1333,7 @@ export declare const NewJobSpec: Schema.Struct<{
1221
1333
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1222
1334
  readonly frame: Schema.optionalKey<Schema.Unknown>;
1223
1335
  }>>]>>;
1224
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1336
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1225
1337
  }>, Schema.Struct<{
1226
1338
  readonly action: Schema.Literal<"expectNoText">;
1227
1339
  readonly text: Schema.NonEmptyString;
@@ -1267,7 +1379,7 @@ export declare const NewJobSpec: Schema.Struct<{
1267
1379
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1268
1380
  readonly frame: Schema.optionalKey<Schema.Unknown>;
1269
1381
  }>>]>>;
1270
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1382
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1271
1383
  }>, Schema.Struct<{
1272
1384
  readonly action: Schema.Literal<"waitFor">;
1273
1385
  readonly target: Schema.Struct<{
@@ -1296,7 +1408,7 @@ export declare const NewJobSpec: Schema.Struct<{
1296
1408
  }>>]>>;
1297
1409
  }>;
1298
1410
  readonly state: Schema.optionalKey<Schema.Literals<readonly ["visible", "hidden", "attached", "detached"]>>;
1299
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1411
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1300
1412
  }>, Schema.Struct<{
1301
1413
  readonly action: Schema.Literal<"scroll">;
1302
1414
  readonly target: Schema.optionalKey<Schema.Struct<{
@@ -1325,7 +1437,7 @@ export declare const NewJobSpec: Schema.Struct<{
1325
1437
  }>>]>>;
1326
1438
  }>>;
1327
1439
  readonly to: Schema.optionalKey<Schema.Literals<readonly ["top", "bottom"]>>;
1328
- readonly by: Schema.optionalKey<Schema.Number>;
1440
+ readonly by: Schema.optionalKey<Schema.Finite>;
1329
1441
  readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1330
1442
  readonly role: Schema.optionalKey<Schema.NonEmptyString>;
1331
1443
  readonly name: Schema.optionalKey<Schema.NonEmptyString>;
@@ -1343,11 +1455,11 @@ export declare const NewJobSpec: Schema.Struct<{
1343
1455
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1344
1456
  readonly frame: Schema.optionalKey<Schema.Unknown>;
1345
1457
  }>>]>>;
1346
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1458
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1347
1459
  }>, Schema.Struct<{
1348
1460
  readonly action: Schema.Literal<"expectUrl">;
1349
1461
  readonly includes: Schema.NonEmptyString;
1350
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1462
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1351
1463
  }>, Schema.Struct<{
1352
1464
  readonly action: Schema.Literal<"expectLink">;
1353
1465
  readonly target: Schema.Struct<{
@@ -1377,7 +1489,7 @@ export declare const NewJobSpec: Schema.Struct<{
1377
1489
  }>;
1378
1490
  readonly href: Schema.NonEmptyString;
1379
1491
  readonly match: Schema.optionalKey<Schema.Literals<readonly ["contains", "exact"]>>;
1380
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1492
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1381
1493
  }>, Schema.Struct<{
1382
1494
  readonly action: Schema.Literal<"screenshot">;
1383
1495
  readonly name: Schema.String;
@@ -1435,10 +1547,10 @@ export declare const JobRecord: Schema.Struct<{
1435
1547
  readonly steps: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1436
1548
  readonly action: Schema.Literal<"goto">;
1437
1549
  readonly url: Schema.NonEmptyString;
1438
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1550
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1439
1551
  }>, Schema.Struct<{
1440
1552
  readonly action: Schema.Literal<"reload">;
1441
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1553
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1442
1554
  }>, Schema.Struct<{
1443
1555
  readonly action: Schema.Literal<"click">;
1444
1556
  readonly target: Schema.Struct<{
@@ -1466,7 +1578,35 @@ export declare const JobRecord: Schema.Struct<{
1466
1578
  readonly frame: Schema.optionalKey<Schema.Unknown>;
1467
1579
  }>>]>>;
1468
1580
  }>;
1469
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1581
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1582
+ }>, Schema.Struct<{
1583
+ readonly action: Schema.Literal<"hover">;
1584
+ readonly target: Schema.Struct<{
1585
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
1586
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
1587
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
1588
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
1589
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
1590
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1591
+ readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1592
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
1593
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
1594
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
1595
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
1596
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
1597
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1598
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
1599
+ }>, Schema.$Array<Schema.Struct<{
1600
+ readonly role: Schema.optionalKey<Schema.NonEmptyString>;
1601
+ readonly name: Schema.optionalKey<Schema.NonEmptyString>;
1602
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
1603
+ readonly label: Schema.optionalKey<Schema.NonEmptyString>;
1604
+ readonly alt: Schema.optionalKey<Schema.NonEmptyString>;
1605
+ readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1606
+ readonly frame: Schema.optionalKey<Schema.Unknown>;
1607
+ }>>]>>;
1608
+ }>;
1609
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1470
1610
  }>, Schema.Struct<{
1471
1611
  readonly action: Schema.Literal<"fill">;
1472
1612
  readonly target: Schema.Struct<{
@@ -1495,7 +1635,7 @@ export declare const JobRecord: Schema.Struct<{
1495
1635
  }>>]>>;
1496
1636
  }>;
1497
1637
  readonly value: Schema.String;
1498
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1638
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1499
1639
  }>, Schema.Struct<{
1500
1640
  readonly action: Schema.Literal<"upload">;
1501
1641
  readonly target: Schema.Struct<{
@@ -1528,11 +1668,11 @@ export declare const JobRecord: Schema.Struct<{
1528
1668
  readonly about: Schema.optionalKey<Schema.String>;
1529
1669
  readonly allowMismatch: Schema.optionalKey<Schema.Boolean>;
1530
1670
  }>]>>;
1531
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1671
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1532
1672
  }>, Schema.Struct<{
1533
1673
  readonly action: Schema.Literal<"press">;
1534
1674
  readonly key: Schema.NonEmptyString;
1535
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1675
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1536
1676
  }>, Schema.Struct<{
1537
1677
  readonly action: Schema.Literal<"expectText">;
1538
1678
  readonly text: Schema.NonEmptyString;
@@ -1553,7 +1693,7 @@ export declare const JobRecord: Schema.Struct<{
1553
1693
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1554
1694
  readonly frame: Schema.optionalKey<Schema.Unknown>;
1555
1695
  }>>]>>;
1556
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1696
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1557
1697
  }>, Schema.Struct<{
1558
1698
  readonly action: Schema.Literal<"expectNoText">;
1559
1699
  readonly text: Schema.NonEmptyString;
@@ -1599,7 +1739,7 @@ export declare const JobRecord: Schema.Struct<{
1599
1739
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1600
1740
  readonly frame: Schema.optionalKey<Schema.Unknown>;
1601
1741
  }>>]>>;
1602
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1742
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1603
1743
  }>, Schema.Struct<{
1604
1744
  readonly action: Schema.Literal<"waitFor">;
1605
1745
  readonly target: Schema.Struct<{
@@ -1628,7 +1768,7 @@ export declare const JobRecord: Schema.Struct<{
1628
1768
  }>>]>>;
1629
1769
  }>;
1630
1770
  readonly state: Schema.optionalKey<Schema.Literals<readonly ["visible", "hidden", "attached", "detached"]>>;
1631
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1771
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1632
1772
  }>, Schema.Struct<{
1633
1773
  readonly action: Schema.Literal<"scroll">;
1634
1774
  readonly target: Schema.optionalKey<Schema.Struct<{
@@ -1657,7 +1797,7 @@ export declare const JobRecord: Schema.Struct<{
1657
1797
  }>>]>>;
1658
1798
  }>>;
1659
1799
  readonly to: Schema.optionalKey<Schema.Literals<readonly ["top", "bottom"]>>;
1660
- readonly by: Schema.optionalKey<Schema.Number>;
1800
+ readonly by: Schema.optionalKey<Schema.Finite>;
1661
1801
  readonly frame: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1662
1802
  readonly role: Schema.optionalKey<Schema.NonEmptyString>;
1663
1803
  readonly name: Schema.optionalKey<Schema.NonEmptyString>;
@@ -1675,11 +1815,11 @@ export declare const JobRecord: Schema.Struct<{
1675
1815
  readonly css: Schema.optionalKey<Schema.NonEmptyString>;
1676
1816
  readonly frame: Schema.optionalKey<Schema.Unknown>;
1677
1817
  }>>]>>;
1678
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1818
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1679
1819
  }>, Schema.Struct<{
1680
1820
  readonly action: Schema.Literal<"expectUrl">;
1681
1821
  readonly includes: Schema.NonEmptyString;
1682
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1822
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1683
1823
  }>, Schema.Struct<{
1684
1824
  readonly action: Schema.Literal<"expectLink">;
1685
1825
  readonly target: Schema.Struct<{
@@ -1709,7 +1849,7 @@ export declare const JobRecord: Schema.Struct<{
1709
1849
  }>;
1710
1850
  readonly href: Schema.NonEmptyString;
1711
1851
  readonly match: Schema.optionalKey<Schema.Literals<readonly ["contains", "exact"]>>;
1712
- readonly timeoutMs: Schema.optionalKey<Schema.Number>;
1852
+ readonly timeoutMs: Schema.optionalKey<Schema.Finite>;
1713
1853
  }>, Schema.Struct<{
1714
1854
  readonly action: Schema.Literal<"screenshot">;
1715
1855
  readonly name: Schema.String;