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.
@@ -3375,6 +3375,72 @@
3375
3375
  "transform": [
3376
3376
  "trim"
3377
3377
  ]
3378
+ },
3379
+ "timeout": {
3380
+ "type": "integer",
3381
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
3382
+ "default": 30000,
3383
+ "minimum": 0
3384
+ },
3385
+ "waitUntil": {
3386
+ "type": "object",
3387
+ "description": "Configuration for waiting conditions after navigation.",
3388
+ "additionalProperties": false,
3389
+ "properties": {
3390
+ "networkIdleTime": {
3391
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
3392
+ "anyOf": [
3393
+ {
3394
+ "type": "integer",
3395
+ "minimum": 0
3396
+ },
3397
+ {
3398
+ "type": "null"
3399
+ }
3400
+ ],
3401
+ "default": 500
3402
+ },
3403
+ "domIdleTime": {
3404
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
3405
+ "anyOf": [
3406
+ {
3407
+ "type": "integer",
3408
+ "minimum": 0
3409
+ },
3410
+ {
3411
+ "type": "null"
3412
+ }
3413
+ ],
3414
+ "default": 1000
3415
+ },
3416
+ "find": {
3417
+ "type": "object",
3418
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
3419
+ "additionalProperties": false,
3420
+ "anyOf": [
3421
+ {
3422
+ "required": [
3423
+ "selector"
3424
+ ]
3425
+ },
3426
+ {
3427
+ "required": [
3428
+ "elementText"
3429
+ ]
3430
+ }
3431
+ ],
3432
+ "properties": {
3433
+ "selector": {
3434
+ "type": "string",
3435
+ "description": "CSS selector for the element to wait for."
3436
+ },
3437
+ "elementText": {
3438
+ "type": "string",
3439
+ "description": "Text content the element must contain."
3440
+ }
3441
+ }
3442
+ }
3443
+ }
3378
3444
  }
3379
3445
  },
3380
3446
  "title": "Go to URL (detailed)"
@@ -3413,6 +3479,72 @@
3413
3479
  "transform": [
3414
3480
  "trim"
3415
3481
  ]
3482
+ },
3483
+ "timeout": {
3484
+ "type": "integer",
3485
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
3486
+ "default": 30000,
3487
+ "minimum": 0
3488
+ },
3489
+ "waitUntil": {
3490
+ "type": "object",
3491
+ "description": "Configuration for waiting conditions after navigation.",
3492
+ "additionalProperties": false,
3493
+ "properties": {
3494
+ "networkIdleTime": {
3495
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
3496
+ "anyOf": [
3497
+ {
3498
+ "type": "integer",
3499
+ "minimum": 0
3500
+ },
3501
+ {
3502
+ "type": "null"
3503
+ }
3504
+ ],
3505
+ "default": 500
3506
+ },
3507
+ "domIdleTime": {
3508
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
3509
+ "anyOf": [
3510
+ {
3511
+ "type": "integer",
3512
+ "minimum": 0
3513
+ },
3514
+ {
3515
+ "type": "null"
3516
+ }
3517
+ ],
3518
+ "default": 1000
3519
+ },
3520
+ "find": {
3521
+ "type": "object",
3522
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
3523
+ "additionalProperties": false,
3524
+ "anyOf": [
3525
+ {
3526
+ "required": [
3527
+ "selector"
3528
+ ]
3529
+ },
3530
+ {
3531
+ "required": [
3532
+ "elementText"
3533
+ ]
3534
+ }
3535
+ ],
3536
+ "properties": {
3537
+ "selector": {
3538
+ "type": "string",
3539
+ "description": "CSS selector for the element to wait for."
3540
+ },
3541
+ "elementText": {
3542
+ "type": "string",
3543
+ "description": "Text content the element must contain."
3544
+ }
3545
+ }
3546
+ }
3547
+ }
3416
3548
  }
3417
3549
  },
3418
3550
  "title": "Go to URL (detailed)"
@@ -3427,7 +3559,41 @@
3427
3559
  },
3428
3560
  {
3429
3561
  "url": "/search",
3430
- "origin": "www.google.com"
3562
+ "origin": "https://www.google.com"
3563
+ },
3564
+ {
3565
+ "url": "https://www.example.com",
3566
+ "waitUntil": {
3567
+ "networkIdleTime": 500
3568
+ }
3569
+ },
3570
+ {
3571
+ "url": "https://www.example.com/dashboard",
3572
+ "waitUntil": {
3573
+ "find": {
3574
+ "selector": "[data-testid='dashboard-loaded']"
3575
+ }
3576
+ }
3577
+ },
3578
+ {
3579
+ "url": "https://www.example.com/app",
3580
+ "timeout": 60000,
3581
+ "waitUntil": {
3582
+ "networkIdleTime": 500,
3583
+ "domIdleTime": 1000,
3584
+ "find": {
3585
+ "selector": ".main-content",
3586
+ "elementText": "Dashboard"
3587
+ }
3588
+ }
3589
+ },
3590
+ {
3591
+ "url": "https://www.example.com/status",
3592
+ "waitUntil": {
3593
+ "find": {
3594
+ "elementText": "System operational"
3595
+ }
3596
+ }
3431
3597
  }
3432
3598
  ]
3433
3599
  }
@@ -10252,6 +10418,72 @@
10252
10418
  "transform": [
10253
10419
  "trim"
10254
10420
  ]
10421
+ },
10422
+ "timeout": {
10423
+ "type": "integer",
10424
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
10425
+ "default": 30000,
10426
+ "minimum": 0
10427
+ },
10428
+ "waitUntil": {
10429
+ "type": "object",
10430
+ "description": "Configuration for waiting conditions after navigation.",
10431
+ "additionalProperties": false,
10432
+ "properties": {
10433
+ "networkIdleTime": {
10434
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
10435
+ "anyOf": [
10436
+ {
10437
+ "type": "integer",
10438
+ "minimum": 0
10439
+ },
10440
+ {
10441
+ "type": "null"
10442
+ }
10443
+ ],
10444
+ "default": 500
10445
+ },
10446
+ "domIdleTime": {
10447
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
10448
+ "anyOf": [
10449
+ {
10450
+ "type": "integer",
10451
+ "minimum": 0
10452
+ },
10453
+ {
10454
+ "type": "null"
10455
+ }
10456
+ ],
10457
+ "default": 1000
10458
+ },
10459
+ "find": {
10460
+ "type": "object",
10461
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
10462
+ "additionalProperties": false,
10463
+ "anyOf": [
10464
+ {
10465
+ "required": [
10466
+ "selector"
10467
+ ]
10468
+ },
10469
+ {
10470
+ "required": [
10471
+ "elementText"
10472
+ ]
10473
+ }
10474
+ ],
10475
+ "properties": {
10476
+ "selector": {
10477
+ "type": "string",
10478
+ "description": "CSS selector for the element to wait for."
10479
+ },
10480
+ "elementText": {
10481
+ "type": "string",
10482
+ "description": "Text content the element must contain."
10483
+ }
10484
+ }
10485
+ }
10486
+ }
10255
10487
  }
10256
10488
  },
10257
10489
  "title": "Go to URL (detailed)"
@@ -10290,6 +10522,72 @@
10290
10522
  "transform": [
10291
10523
  "trim"
10292
10524
  ]
10525
+ },
10526
+ "timeout": {
10527
+ "type": "integer",
10528
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
10529
+ "default": 30000,
10530
+ "minimum": 0
10531
+ },
10532
+ "waitUntil": {
10533
+ "type": "object",
10534
+ "description": "Configuration for waiting conditions after navigation.",
10535
+ "additionalProperties": false,
10536
+ "properties": {
10537
+ "networkIdleTime": {
10538
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
10539
+ "anyOf": [
10540
+ {
10541
+ "type": "integer",
10542
+ "minimum": 0
10543
+ },
10544
+ {
10545
+ "type": "null"
10546
+ }
10547
+ ],
10548
+ "default": 500
10549
+ },
10550
+ "domIdleTime": {
10551
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
10552
+ "anyOf": [
10553
+ {
10554
+ "type": "integer",
10555
+ "minimum": 0
10556
+ },
10557
+ {
10558
+ "type": "null"
10559
+ }
10560
+ ],
10561
+ "default": 1000
10562
+ },
10563
+ "find": {
10564
+ "type": "object",
10565
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
10566
+ "additionalProperties": false,
10567
+ "anyOf": [
10568
+ {
10569
+ "required": [
10570
+ "selector"
10571
+ ]
10572
+ },
10573
+ {
10574
+ "required": [
10575
+ "elementText"
10576
+ ]
10577
+ }
10578
+ ],
10579
+ "properties": {
10580
+ "selector": {
10581
+ "type": "string",
10582
+ "description": "CSS selector for the element to wait for."
10583
+ },
10584
+ "elementText": {
10585
+ "type": "string",
10586
+ "description": "Text content the element must contain."
10587
+ }
10588
+ }
10589
+ }
10590
+ }
10293
10591
  }
10294
10592
  },
10295
10593
  "title": "Go to URL (detailed)"
@@ -10304,7 +10602,41 @@
10304
10602
  },
10305
10603
  {
10306
10604
  "url": "/search",
10307
- "origin": "www.google.com"
10605
+ "origin": "https://www.google.com"
10606
+ },
10607
+ {
10608
+ "url": "https://www.example.com",
10609
+ "waitUntil": {
10610
+ "networkIdleTime": 500
10611
+ }
10612
+ },
10613
+ {
10614
+ "url": "https://www.example.com/dashboard",
10615
+ "waitUntil": {
10616
+ "find": {
10617
+ "selector": "[data-testid='dashboard-loaded']"
10618
+ }
10619
+ }
10620
+ },
10621
+ {
10622
+ "url": "https://www.example.com/app",
10623
+ "timeout": 60000,
10624
+ "waitUntil": {
10625
+ "networkIdleTime": 500,
10626
+ "domIdleTime": 1000,
10627
+ "find": {
10628
+ "selector": ".main-content",
10629
+ "elementText": "Dashboard"
10630
+ }
10631
+ }
10632
+ },
10633
+ {
10634
+ "url": "https://www.example.com/status",
10635
+ "waitUntil": {
10636
+ "find": {
10637
+ "elementText": "System operational"
10638
+ }
10639
+ }
10308
10640
  }
10309
10641
  ]
10310
10642
  }
@@ -2175,6 +2175,72 @@
2175
2175
  "transform": [
2176
2176
  "trim"
2177
2177
  ]
2178
+ },
2179
+ "timeout": {
2180
+ "type": "integer",
2181
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
2182
+ "default": 30000,
2183
+ "minimum": 0
2184
+ },
2185
+ "waitUntil": {
2186
+ "type": "object",
2187
+ "description": "Configuration for waiting conditions after navigation.",
2188
+ "additionalProperties": false,
2189
+ "properties": {
2190
+ "networkIdleTime": {
2191
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
2192
+ "anyOf": [
2193
+ {
2194
+ "type": "integer",
2195
+ "minimum": 0
2196
+ },
2197
+ {
2198
+ "type": "null"
2199
+ }
2200
+ ],
2201
+ "default": 500
2202
+ },
2203
+ "domIdleTime": {
2204
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
2205
+ "anyOf": [
2206
+ {
2207
+ "type": "integer",
2208
+ "minimum": 0
2209
+ },
2210
+ {
2211
+ "type": "null"
2212
+ }
2213
+ ],
2214
+ "default": 1000
2215
+ },
2216
+ "find": {
2217
+ "type": "object",
2218
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
2219
+ "additionalProperties": false,
2220
+ "anyOf": [
2221
+ {
2222
+ "required": [
2223
+ "selector"
2224
+ ]
2225
+ },
2226
+ {
2227
+ "required": [
2228
+ "elementText"
2229
+ ]
2230
+ }
2231
+ ],
2232
+ "properties": {
2233
+ "selector": {
2234
+ "type": "string",
2235
+ "description": "CSS selector for the element to wait for."
2236
+ },
2237
+ "elementText": {
2238
+ "type": "string",
2239
+ "description": "Text content the element must contain."
2240
+ }
2241
+ }
2242
+ }
2243
+ }
2178
2244
  }
2179
2245
  },
2180
2246
  "title": "Go to URL (detailed)"
@@ -2213,6 +2279,72 @@
2213
2279
  "transform": [
2214
2280
  "trim"
2215
2281
  ]
2282
+ },
2283
+ "timeout": {
2284
+ "type": "integer",
2285
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
2286
+ "default": 30000,
2287
+ "minimum": 0
2288
+ },
2289
+ "waitUntil": {
2290
+ "type": "object",
2291
+ "description": "Configuration for waiting conditions after navigation.",
2292
+ "additionalProperties": false,
2293
+ "properties": {
2294
+ "networkIdleTime": {
2295
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
2296
+ "anyOf": [
2297
+ {
2298
+ "type": "integer",
2299
+ "minimum": 0
2300
+ },
2301
+ {
2302
+ "type": "null"
2303
+ }
2304
+ ],
2305
+ "default": 500
2306
+ },
2307
+ "domIdleTime": {
2308
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
2309
+ "anyOf": [
2310
+ {
2311
+ "type": "integer",
2312
+ "minimum": 0
2313
+ },
2314
+ {
2315
+ "type": "null"
2316
+ }
2317
+ ],
2318
+ "default": 1000
2319
+ },
2320
+ "find": {
2321
+ "type": "object",
2322
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
2323
+ "additionalProperties": false,
2324
+ "anyOf": [
2325
+ {
2326
+ "required": [
2327
+ "selector"
2328
+ ]
2329
+ },
2330
+ {
2331
+ "required": [
2332
+ "elementText"
2333
+ ]
2334
+ }
2335
+ ],
2336
+ "properties": {
2337
+ "selector": {
2338
+ "type": "string",
2339
+ "description": "CSS selector for the element to wait for."
2340
+ },
2341
+ "elementText": {
2342
+ "type": "string",
2343
+ "description": "Text content the element must contain."
2344
+ }
2345
+ }
2346
+ }
2347
+ }
2216
2348
  }
2217
2349
  },
2218
2350
  "title": "Go to URL (detailed)"
@@ -2227,7 +2359,41 @@
2227
2359
  },
2228
2360
  {
2229
2361
  "url": "/search",
2230
- "origin": "www.google.com"
2362
+ "origin": "https://www.google.com"
2363
+ },
2364
+ {
2365
+ "url": "https://www.example.com",
2366
+ "waitUntil": {
2367
+ "networkIdleTime": 500
2368
+ }
2369
+ },
2370
+ {
2371
+ "url": "https://www.example.com/dashboard",
2372
+ "waitUntil": {
2373
+ "find": {
2374
+ "selector": "[data-testid='dashboard-loaded']"
2375
+ }
2376
+ }
2377
+ },
2378
+ {
2379
+ "url": "https://www.example.com/app",
2380
+ "timeout": 60000,
2381
+ "waitUntil": {
2382
+ "networkIdleTime": 500,
2383
+ "domIdleTime": 1000,
2384
+ "find": {
2385
+ "selector": ".main-content",
2386
+ "elementText": "Dashboard"
2387
+ }
2388
+ }
2389
+ },
2390
+ {
2391
+ "url": "https://www.example.com/status",
2392
+ "waitUntil": {
2393
+ "find": {
2394
+ "elementText": "System operational"
2395
+ }
2396
+ }
2231
2397
  }
2232
2398
  ]
2233
2399
  }