doc-detective-common 3.4.1-dev.4 → 3.4.1-dev.5

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.
@@ -2973,6 +2973,72 @@
2973
2973
  "transform": [
2974
2974
  "trim"
2975
2975
  ]
2976
+ },
2977
+ "timeout": {
2978
+ "type": "integer",
2979
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
2980
+ "default": 30000,
2981
+ "minimum": 0
2982
+ },
2983
+ "waitUntil": {
2984
+ "type": "object",
2985
+ "description": "Configuration for waiting conditions after navigation.",
2986
+ "additionalProperties": false,
2987
+ "properties": {
2988
+ "networkIdleTime": {
2989
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
2990
+ "anyOf": [
2991
+ {
2992
+ "type": "integer",
2993
+ "minimum": 0
2994
+ },
2995
+ {
2996
+ "type": "null"
2997
+ }
2998
+ ],
2999
+ "default": 500
3000
+ },
3001
+ "domIdleTime": {
3002
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
3003
+ "anyOf": [
3004
+ {
3005
+ "type": "integer",
3006
+ "minimum": 0
3007
+ },
3008
+ {
3009
+ "type": "null"
3010
+ }
3011
+ ],
3012
+ "default": 1000
3013
+ },
3014
+ "find": {
3015
+ "type": "object",
3016
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
3017
+ "additionalProperties": false,
3018
+ "anyOf": [
3019
+ {
3020
+ "required": [
3021
+ "selector"
3022
+ ]
3023
+ },
3024
+ {
3025
+ "required": [
3026
+ "elementText"
3027
+ ]
3028
+ }
3029
+ ],
3030
+ "properties": {
3031
+ "selector": {
3032
+ "type": "string",
3033
+ "description": "CSS selector for the element to wait for."
3034
+ },
3035
+ "elementText": {
3036
+ "type": "string",
3037
+ "description": "Text content the element must contain."
3038
+ }
3039
+ }
3040
+ }
3041
+ }
2976
3042
  }
2977
3043
  },
2978
3044
  "title": "Go to URL (detailed)"
@@ -3011,6 +3077,72 @@
3011
3077
  "transform": [
3012
3078
  "trim"
3013
3079
  ]
3080
+ },
3081
+ "timeout": {
3082
+ "type": "integer",
3083
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
3084
+ "default": 30000,
3085
+ "minimum": 0
3086
+ },
3087
+ "waitUntil": {
3088
+ "type": "object",
3089
+ "description": "Configuration for waiting conditions after navigation.",
3090
+ "additionalProperties": false,
3091
+ "properties": {
3092
+ "networkIdleTime": {
3093
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
3094
+ "anyOf": [
3095
+ {
3096
+ "type": "integer",
3097
+ "minimum": 0
3098
+ },
3099
+ {
3100
+ "type": "null"
3101
+ }
3102
+ ],
3103
+ "default": 500
3104
+ },
3105
+ "domIdleTime": {
3106
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
3107
+ "anyOf": [
3108
+ {
3109
+ "type": "integer",
3110
+ "minimum": 0
3111
+ },
3112
+ {
3113
+ "type": "null"
3114
+ }
3115
+ ],
3116
+ "default": 1000
3117
+ },
3118
+ "find": {
3119
+ "type": "object",
3120
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
3121
+ "additionalProperties": false,
3122
+ "anyOf": [
3123
+ {
3124
+ "required": [
3125
+ "selector"
3126
+ ]
3127
+ },
3128
+ {
3129
+ "required": [
3130
+ "elementText"
3131
+ ]
3132
+ }
3133
+ ],
3134
+ "properties": {
3135
+ "selector": {
3136
+ "type": "string",
3137
+ "description": "CSS selector for the element to wait for."
3138
+ },
3139
+ "elementText": {
3140
+ "type": "string",
3141
+ "description": "Text content the element must contain."
3142
+ }
3143
+ }
3144
+ }
3145
+ }
3014
3146
  }
3015
3147
  },
3016
3148
  "title": "Go to URL (detailed)"
@@ -3025,7 +3157,41 @@
3025
3157
  },
3026
3158
  {
3027
3159
  "url": "/search",
3028
- "origin": "www.google.com"
3160
+ "origin": "https://www.google.com"
3161
+ },
3162
+ {
3163
+ "url": "https://www.example.com",
3164
+ "waitUntil": {
3165
+ "networkIdleTime": 500
3166
+ }
3167
+ },
3168
+ {
3169
+ "url": "https://www.example.com/dashboard",
3170
+ "waitUntil": {
3171
+ "find": {
3172
+ "selector": "[data-testid='dashboard-loaded']"
3173
+ }
3174
+ }
3175
+ },
3176
+ {
3177
+ "url": "https://www.example.com/app",
3178
+ "timeout": 60000,
3179
+ "waitUntil": {
3180
+ "networkIdleTime": 500,
3181
+ "domIdleTime": 1000,
3182
+ "find": {
3183
+ "selector": ".main-content",
3184
+ "elementText": "Dashboard"
3185
+ }
3186
+ }
3187
+ },
3188
+ {
3189
+ "url": "https://www.example.com/status",
3190
+ "waitUntil": {
3191
+ "find": {
3192
+ "elementText": "System operational"
3193
+ }
3194
+ }
3029
3195
  }
3030
3196
  ]
3031
3197
  }
@@ -10281,6 +10447,72 @@
10281
10447
  "transform": [
10282
10448
  "trim"
10283
10449
  ]
10450
+ },
10451
+ "timeout": {
10452
+ "type": "integer",
10453
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
10454
+ "default": 30000,
10455
+ "minimum": 0
10456
+ },
10457
+ "waitUntil": {
10458
+ "type": "object",
10459
+ "description": "Configuration for waiting conditions after navigation.",
10460
+ "additionalProperties": false,
10461
+ "properties": {
10462
+ "networkIdleTime": {
10463
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
10464
+ "anyOf": [
10465
+ {
10466
+ "type": "integer",
10467
+ "minimum": 0
10468
+ },
10469
+ {
10470
+ "type": "null"
10471
+ }
10472
+ ],
10473
+ "default": 500
10474
+ },
10475
+ "domIdleTime": {
10476
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
10477
+ "anyOf": [
10478
+ {
10479
+ "type": "integer",
10480
+ "minimum": 0
10481
+ },
10482
+ {
10483
+ "type": "null"
10484
+ }
10485
+ ],
10486
+ "default": 1000
10487
+ },
10488
+ "find": {
10489
+ "type": "object",
10490
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
10491
+ "additionalProperties": false,
10492
+ "anyOf": [
10493
+ {
10494
+ "required": [
10495
+ "selector"
10496
+ ]
10497
+ },
10498
+ {
10499
+ "required": [
10500
+ "elementText"
10501
+ ]
10502
+ }
10503
+ ],
10504
+ "properties": {
10505
+ "selector": {
10506
+ "type": "string",
10507
+ "description": "CSS selector for the element to wait for."
10508
+ },
10509
+ "elementText": {
10510
+ "type": "string",
10511
+ "description": "Text content the element must contain."
10512
+ }
10513
+ }
10514
+ }
10515
+ }
10284
10516
  }
10285
10517
  },
10286
10518
  "title": "Go to URL (detailed)"
@@ -10319,6 +10551,72 @@
10319
10551
  "transform": [
10320
10552
  "trim"
10321
10553
  ]
10554
+ },
10555
+ "timeout": {
10556
+ "type": "integer",
10557
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
10558
+ "default": 30000,
10559
+ "minimum": 0
10560
+ },
10561
+ "waitUntil": {
10562
+ "type": "object",
10563
+ "description": "Configuration for waiting conditions after navigation.",
10564
+ "additionalProperties": false,
10565
+ "properties": {
10566
+ "networkIdleTime": {
10567
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
10568
+ "anyOf": [
10569
+ {
10570
+ "type": "integer",
10571
+ "minimum": 0
10572
+ },
10573
+ {
10574
+ "type": "null"
10575
+ }
10576
+ ],
10577
+ "default": 500
10578
+ },
10579
+ "domIdleTime": {
10580
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
10581
+ "anyOf": [
10582
+ {
10583
+ "type": "integer",
10584
+ "minimum": 0
10585
+ },
10586
+ {
10587
+ "type": "null"
10588
+ }
10589
+ ],
10590
+ "default": 1000
10591
+ },
10592
+ "find": {
10593
+ "type": "object",
10594
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
10595
+ "additionalProperties": false,
10596
+ "anyOf": [
10597
+ {
10598
+ "required": [
10599
+ "selector"
10600
+ ]
10601
+ },
10602
+ {
10603
+ "required": [
10604
+ "elementText"
10605
+ ]
10606
+ }
10607
+ ],
10608
+ "properties": {
10609
+ "selector": {
10610
+ "type": "string",
10611
+ "description": "CSS selector for the element to wait for."
10612
+ },
10613
+ "elementText": {
10614
+ "type": "string",
10615
+ "description": "Text content the element must contain."
10616
+ }
10617
+ }
10618
+ }
10619
+ }
10322
10620
  }
10323
10621
  },
10324
10622
  "title": "Go to URL (detailed)"
@@ -10333,7 +10631,41 @@
10333
10631
  },
10334
10632
  {
10335
10633
  "url": "/search",
10336
- "origin": "www.google.com"
10634
+ "origin": "https://www.google.com"
10635
+ },
10636
+ {
10637
+ "url": "https://www.example.com",
10638
+ "waitUntil": {
10639
+ "networkIdleTime": 500
10640
+ }
10641
+ },
10642
+ {
10643
+ "url": "https://www.example.com/dashboard",
10644
+ "waitUntil": {
10645
+ "find": {
10646
+ "selector": "[data-testid='dashboard-loaded']"
10647
+ }
10648
+ }
10649
+ },
10650
+ {
10651
+ "url": "https://www.example.com/app",
10652
+ "timeout": 60000,
10653
+ "waitUntil": {
10654
+ "networkIdleTime": 500,
10655
+ "domIdleTime": 1000,
10656
+ "find": {
10657
+ "selector": ".main-content",
10658
+ "elementText": "Dashboard"
10659
+ }
10660
+ }
10661
+ },
10662
+ {
10663
+ "url": "https://www.example.com/status",
10664
+ "waitUntil": {
10665
+ "find": {
10666
+ "elementText": "System operational"
10667
+ }
10668
+ }
10337
10669
  }
10338
10670
  ]
10339
10671
  }
@@ -18358,6 +18690,72 @@
18358
18690
  "transform": [
18359
18691
  "trim"
18360
18692
  ]
18693
+ },
18694
+ "timeout": {
18695
+ "type": "integer",
18696
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
18697
+ "default": 30000,
18698
+ "minimum": 0
18699
+ },
18700
+ "waitUntil": {
18701
+ "type": "object",
18702
+ "description": "Configuration for waiting conditions after navigation.",
18703
+ "additionalProperties": false,
18704
+ "properties": {
18705
+ "networkIdleTime": {
18706
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
18707
+ "anyOf": [
18708
+ {
18709
+ "type": "integer",
18710
+ "minimum": 0
18711
+ },
18712
+ {
18713
+ "type": "null"
18714
+ }
18715
+ ],
18716
+ "default": 500
18717
+ },
18718
+ "domIdleTime": {
18719
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
18720
+ "anyOf": [
18721
+ {
18722
+ "type": "integer",
18723
+ "minimum": 0
18724
+ },
18725
+ {
18726
+ "type": "null"
18727
+ }
18728
+ ],
18729
+ "default": 1000
18730
+ },
18731
+ "find": {
18732
+ "type": "object",
18733
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
18734
+ "additionalProperties": false,
18735
+ "anyOf": [
18736
+ {
18737
+ "required": [
18738
+ "selector"
18739
+ ]
18740
+ },
18741
+ {
18742
+ "required": [
18743
+ "elementText"
18744
+ ]
18745
+ }
18746
+ ],
18747
+ "properties": {
18748
+ "selector": {
18749
+ "type": "string",
18750
+ "description": "CSS selector for the element to wait for."
18751
+ },
18752
+ "elementText": {
18753
+ "type": "string",
18754
+ "description": "Text content the element must contain."
18755
+ }
18756
+ }
18757
+ }
18758
+ }
18361
18759
  }
18362
18760
  },
18363
18761
  "title": "Go to URL (detailed)"
@@ -18396,6 +18794,72 @@
18396
18794
  "transform": [
18397
18795
  "trim"
18398
18796
  ]
18797
+ },
18798
+ "timeout": {
18799
+ "type": "integer",
18800
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
18801
+ "default": 30000,
18802
+ "minimum": 0
18803
+ },
18804
+ "waitUntil": {
18805
+ "type": "object",
18806
+ "description": "Configuration for waiting conditions after navigation.",
18807
+ "additionalProperties": false,
18808
+ "properties": {
18809
+ "networkIdleTime": {
18810
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
18811
+ "anyOf": [
18812
+ {
18813
+ "type": "integer",
18814
+ "minimum": 0
18815
+ },
18816
+ {
18817
+ "type": "null"
18818
+ }
18819
+ ],
18820
+ "default": 500
18821
+ },
18822
+ "domIdleTime": {
18823
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
18824
+ "anyOf": [
18825
+ {
18826
+ "type": "integer",
18827
+ "minimum": 0
18828
+ },
18829
+ {
18830
+ "type": "null"
18831
+ }
18832
+ ],
18833
+ "default": 1000
18834
+ },
18835
+ "find": {
18836
+ "type": "object",
18837
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
18838
+ "additionalProperties": false,
18839
+ "anyOf": [
18840
+ {
18841
+ "required": [
18842
+ "selector"
18843
+ ]
18844
+ },
18845
+ {
18846
+ "required": [
18847
+ "elementText"
18848
+ ]
18849
+ }
18850
+ ],
18851
+ "properties": {
18852
+ "selector": {
18853
+ "type": "string",
18854
+ "description": "CSS selector for the element to wait for."
18855
+ },
18856
+ "elementText": {
18857
+ "type": "string",
18858
+ "description": "Text content the element must contain."
18859
+ }
18860
+ }
18861
+ }
18862
+ }
18399
18863
  }
18400
18864
  },
18401
18865
  "title": "Go to URL (detailed)"
@@ -18410,7 +18874,41 @@
18410
18874
  },
18411
18875
  {
18412
18876
  "url": "/search",
18413
- "origin": "www.google.com"
18877
+ "origin": "https://www.google.com"
18878
+ },
18879
+ {
18880
+ "url": "https://www.example.com",
18881
+ "waitUntil": {
18882
+ "networkIdleTime": 500
18883
+ }
18884
+ },
18885
+ {
18886
+ "url": "https://www.example.com/dashboard",
18887
+ "waitUntil": {
18888
+ "find": {
18889
+ "selector": "[data-testid='dashboard-loaded']"
18890
+ }
18891
+ }
18892
+ },
18893
+ {
18894
+ "url": "https://www.example.com/app",
18895
+ "timeout": 60000,
18896
+ "waitUntil": {
18897
+ "networkIdleTime": 500,
18898
+ "domIdleTime": 1000,
18899
+ "find": {
18900
+ "selector": ".main-content",
18901
+ "elementText": "Dashboard"
18902
+ }
18903
+ }
18904
+ },
18905
+ {
18906
+ "url": "https://www.example.com/status",
18907
+ "waitUntil": {
18908
+ "find": {
18909
+ "elementText": "System operational"
18910
+ }
18911
+ }
18414
18912
  }
18415
18913
  ]
18416
18914
  }
@@ -25235,6 +25733,72 @@
25235
25733
  "transform": [
25236
25734
  "trim"
25237
25735
  ]
25736
+ },
25737
+ "timeout": {
25738
+ "type": "integer",
25739
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
25740
+ "default": 30000,
25741
+ "minimum": 0
25742
+ },
25743
+ "waitUntil": {
25744
+ "type": "object",
25745
+ "description": "Configuration for waiting conditions after navigation.",
25746
+ "additionalProperties": false,
25747
+ "properties": {
25748
+ "networkIdleTime": {
25749
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
25750
+ "anyOf": [
25751
+ {
25752
+ "type": "integer",
25753
+ "minimum": 0
25754
+ },
25755
+ {
25756
+ "type": "null"
25757
+ }
25758
+ ],
25759
+ "default": 500
25760
+ },
25761
+ "domIdleTime": {
25762
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
25763
+ "anyOf": [
25764
+ {
25765
+ "type": "integer",
25766
+ "minimum": 0
25767
+ },
25768
+ {
25769
+ "type": "null"
25770
+ }
25771
+ ],
25772
+ "default": 1000
25773
+ },
25774
+ "find": {
25775
+ "type": "object",
25776
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
25777
+ "additionalProperties": false,
25778
+ "anyOf": [
25779
+ {
25780
+ "required": [
25781
+ "selector"
25782
+ ]
25783
+ },
25784
+ {
25785
+ "required": [
25786
+ "elementText"
25787
+ ]
25788
+ }
25789
+ ],
25790
+ "properties": {
25791
+ "selector": {
25792
+ "type": "string",
25793
+ "description": "CSS selector for the element to wait for."
25794
+ },
25795
+ "elementText": {
25796
+ "type": "string",
25797
+ "description": "Text content the element must contain."
25798
+ }
25799
+ }
25800
+ }
25801
+ }
25238
25802
  }
25239
25803
  },
25240
25804
  "title": "Go to URL (detailed)"
@@ -25273,6 +25837,72 @@
25273
25837
  "transform": [
25274
25838
  "trim"
25275
25839
  ]
25840
+ },
25841
+ "timeout": {
25842
+ "type": "integer",
25843
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
25844
+ "default": 30000,
25845
+ "minimum": 0
25846
+ },
25847
+ "waitUntil": {
25848
+ "type": "object",
25849
+ "description": "Configuration for waiting conditions after navigation.",
25850
+ "additionalProperties": false,
25851
+ "properties": {
25852
+ "networkIdleTime": {
25853
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
25854
+ "anyOf": [
25855
+ {
25856
+ "type": "integer",
25857
+ "minimum": 0
25858
+ },
25859
+ {
25860
+ "type": "null"
25861
+ }
25862
+ ],
25863
+ "default": 500
25864
+ },
25865
+ "domIdleTime": {
25866
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
25867
+ "anyOf": [
25868
+ {
25869
+ "type": "integer",
25870
+ "minimum": 0
25871
+ },
25872
+ {
25873
+ "type": "null"
25874
+ }
25875
+ ],
25876
+ "default": 1000
25877
+ },
25878
+ "find": {
25879
+ "type": "object",
25880
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
25881
+ "additionalProperties": false,
25882
+ "anyOf": [
25883
+ {
25884
+ "required": [
25885
+ "selector"
25886
+ ]
25887
+ },
25888
+ {
25889
+ "required": [
25890
+ "elementText"
25891
+ ]
25892
+ }
25893
+ ],
25894
+ "properties": {
25895
+ "selector": {
25896
+ "type": "string",
25897
+ "description": "CSS selector for the element to wait for."
25898
+ },
25899
+ "elementText": {
25900
+ "type": "string",
25901
+ "description": "Text content the element must contain."
25902
+ }
25903
+ }
25904
+ }
25905
+ }
25276
25906
  }
25277
25907
  },
25278
25908
  "title": "Go to URL (detailed)"
@@ -25287,7 +25917,41 @@
25287
25917
  },
25288
25918
  {
25289
25919
  "url": "/search",
25290
- "origin": "www.google.com"
25920
+ "origin": "https://www.google.com"
25921
+ },
25922
+ {
25923
+ "url": "https://www.example.com",
25924
+ "waitUntil": {
25925
+ "networkIdleTime": 500
25926
+ }
25927
+ },
25928
+ {
25929
+ "url": "https://www.example.com/dashboard",
25930
+ "waitUntil": {
25931
+ "find": {
25932
+ "selector": "[data-testid='dashboard-loaded']"
25933
+ }
25934
+ }
25935
+ },
25936
+ {
25937
+ "url": "https://www.example.com/app",
25938
+ "timeout": 60000,
25939
+ "waitUntil": {
25940
+ "networkIdleTime": 500,
25941
+ "domIdleTime": 1000,
25942
+ "find": {
25943
+ "selector": ".main-content",
25944
+ "elementText": "Dashboard"
25945
+ }
25946
+ }
25947
+ },
25948
+ {
25949
+ "url": "https://www.example.com/status",
25950
+ "waitUntil": {
25951
+ "find": {
25952
+ "elementText": "System operational"
25953
+ }
25954
+ }
25291
25955
  }
25292
25956
  ]
25293
25957
  }