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.
@@ -3393,6 +3393,72 @@
3393
3393
  "transform": [
3394
3394
  "trim"
3395
3395
  ]
3396
+ },
3397
+ "timeout": {
3398
+ "type": "integer",
3399
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
3400
+ "default": 30000,
3401
+ "minimum": 0
3402
+ },
3403
+ "waitUntil": {
3404
+ "type": "object",
3405
+ "description": "Configuration for waiting conditions after navigation.",
3406
+ "additionalProperties": false,
3407
+ "properties": {
3408
+ "networkIdleTime": {
3409
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
3410
+ "anyOf": [
3411
+ {
3412
+ "type": "integer",
3413
+ "minimum": 0
3414
+ },
3415
+ {
3416
+ "type": "null"
3417
+ }
3418
+ ],
3419
+ "default": 500
3420
+ },
3421
+ "domIdleTime": {
3422
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
3423
+ "anyOf": [
3424
+ {
3425
+ "type": "integer",
3426
+ "minimum": 0
3427
+ },
3428
+ {
3429
+ "type": "null"
3430
+ }
3431
+ ],
3432
+ "default": 1000
3433
+ },
3434
+ "find": {
3435
+ "type": "object",
3436
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
3437
+ "additionalProperties": false,
3438
+ "anyOf": [
3439
+ {
3440
+ "required": [
3441
+ "selector"
3442
+ ]
3443
+ },
3444
+ {
3445
+ "required": [
3446
+ "elementText"
3447
+ ]
3448
+ }
3449
+ ],
3450
+ "properties": {
3451
+ "selector": {
3452
+ "type": "string",
3453
+ "description": "CSS selector for the element to wait for."
3454
+ },
3455
+ "elementText": {
3456
+ "type": "string",
3457
+ "description": "Text content the element must contain."
3458
+ }
3459
+ }
3460
+ }
3461
+ }
3396
3462
  }
3397
3463
  },
3398
3464
  "title": "Go to URL (detailed)"
@@ -3431,6 +3497,72 @@
3431
3497
  "transform": [
3432
3498
  "trim"
3433
3499
  ]
3500
+ },
3501
+ "timeout": {
3502
+ "type": "integer",
3503
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
3504
+ "default": 30000,
3505
+ "minimum": 0
3506
+ },
3507
+ "waitUntil": {
3508
+ "type": "object",
3509
+ "description": "Configuration for waiting conditions after navigation.",
3510
+ "additionalProperties": false,
3511
+ "properties": {
3512
+ "networkIdleTime": {
3513
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
3514
+ "anyOf": [
3515
+ {
3516
+ "type": "integer",
3517
+ "minimum": 0
3518
+ },
3519
+ {
3520
+ "type": "null"
3521
+ }
3522
+ ],
3523
+ "default": 500
3524
+ },
3525
+ "domIdleTime": {
3526
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
3527
+ "anyOf": [
3528
+ {
3529
+ "type": "integer",
3530
+ "minimum": 0
3531
+ },
3532
+ {
3533
+ "type": "null"
3534
+ }
3535
+ ],
3536
+ "default": 1000
3537
+ },
3538
+ "find": {
3539
+ "type": "object",
3540
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
3541
+ "additionalProperties": false,
3542
+ "anyOf": [
3543
+ {
3544
+ "required": [
3545
+ "selector"
3546
+ ]
3547
+ },
3548
+ {
3549
+ "required": [
3550
+ "elementText"
3551
+ ]
3552
+ }
3553
+ ],
3554
+ "properties": {
3555
+ "selector": {
3556
+ "type": "string",
3557
+ "description": "CSS selector for the element to wait for."
3558
+ },
3559
+ "elementText": {
3560
+ "type": "string",
3561
+ "description": "Text content the element must contain."
3562
+ }
3563
+ }
3564
+ }
3565
+ }
3434
3566
  }
3435
3567
  },
3436
3568
  "title": "Go to URL (detailed)"
@@ -3445,7 +3577,41 @@
3445
3577
  },
3446
3578
  {
3447
3579
  "url": "/search",
3448
- "origin": "www.google.com"
3580
+ "origin": "https://www.google.com"
3581
+ },
3582
+ {
3583
+ "url": "https://www.example.com",
3584
+ "waitUntil": {
3585
+ "networkIdleTime": 500
3586
+ }
3587
+ },
3588
+ {
3589
+ "url": "https://www.example.com/dashboard",
3590
+ "waitUntil": {
3591
+ "find": {
3592
+ "selector": "[data-testid='dashboard-loaded']"
3593
+ }
3594
+ }
3595
+ },
3596
+ {
3597
+ "url": "https://www.example.com/app",
3598
+ "timeout": 60000,
3599
+ "waitUntil": {
3600
+ "networkIdleTime": 500,
3601
+ "domIdleTime": 1000,
3602
+ "find": {
3603
+ "selector": ".main-content",
3604
+ "elementText": "Dashboard"
3605
+ }
3606
+ }
3607
+ },
3608
+ {
3609
+ "url": "https://www.example.com/status",
3610
+ "waitUntil": {
3611
+ "find": {
3612
+ "elementText": "System operational"
3613
+ }
3614
+ }
3449
3615
  }
3450
3616
  ]
3451
3617
  }
@@ -10270,6 +10436,72 @@
10270
10436
  "transform": [
10271
10437
  "trim"
10272
10438
  ]
10439
+ },
10440
+ "timeout": {
10441
+ "type": "integer",
10442
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
10443
+ "default": 30000,
10444
+ "minimum": 0
10445
+ },
10446
+ "waitUntil": {
10447
+ "type": "object",
10448
+ "description": "Configuration for waiting conditions after navigation.",
10449
+ "additionalProperties": false,
10450
+ "properties": {
10451
+ "networkIdleTime": {
10452
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
10453
+ "anyOf": [
10454
+ {
10455
+ "type": "integer",
10456
+ "minimum": 0
10457
+ },
10458
+ {
10459
+ "type": "null"
10460
+ }
10461
+ ],
10462
+ "default": 500
10463
+ },
10464
+ "domIdleTime": {
10465
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
10466
+ "anyOf": [
10467
+ {
10468
+ "type": "integer",
10469
+ "minimum": 0
10470
+ },
10471
+ {
10472
+ "type": "null"
10473
+ }
10474
+ ],
10475
+ "default": 1000
10476
+ },
10477
+ "find": {
10478
+ "type": "object",
10479
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
10480
+ "additionalProperties": false,
10481
+ "anyOf": [
10482
+ {
10483
+ "required": [
10484
+ "selector"
10485
+ ]
10486
+ },
10487
+ {
10488
+ "required": [
10489
+ "elementText"
10490
+ ]
10491
+ }
10492
+ ],
10493
+ "properties": {
10494
+ "selector": {
10495
+ "type": "string",
10496
+ "description": "CSS selector for the element to wait for."
10497
+ },
10498
+ "elementText": {
10499
+ "type": "string",
10500
+ "description": "Text content the element must contain."
10501
+ }
10502
+ }
10503
+ }
10504
+ }
10273
10505
  }
10274
10506
  },
10275
10507
  "title": "Go to URL (detailed)"
@@ -10308,6 +10540,72 @@
10308
10540
  "transform": [
10309
10541
  "trim"
10310
10542
  ]
10543
+ },
10544
+ "timeout": {
10545
+ "type": "integer",
10546
+ "description": "Maximum time in milliseconds to wait for the page to be ready. If exceeded, the goTo action fails.",
10547
+ "default": 30000,
10548
+ "minimum": 0
10549
+ },
10550
+ "waitUntil": {
10551
+ "type": "object",
10552
+ "description": "Configuration for waiting conditions after navigation.",
10553
+ "additionalProperties": false,
10554
+ "properties": {
10555
+ "networkIdleTime": {
10556
+ "description": "Wait for network activity to be idle (no new requests) for this duration in milliseconds. Set to `null` to skip this check.",
10557
+ "anyOf": [
10558
+ {
10559
+ "type": "integer",
10560
+ "minimum": 0
10561
+ },
10562
+ {
10563
+ "type": "null"
10564
+ }
10565
+ ],
10566
+ "default": 500
10567
+ },
10568
+ "domIdleTime": {
10569
+ "description": "Wait for DOM mutations to stop for this duration in milliseconds. Set to `null` to skip this check.",
10570
+ "anyOf": [
10571
+ {
10572
+ "type": "integer",
10573
+ "minimum": 0
10574
+ },
10575
+ {
10576
+ "type": "null"
10577
+ }
10578
+ ],
10579
+ "default": 1000
10580
+ },
10581
+ "find": {
10582
+ "type": "object",
10583
+ "description": "Wait for a specific element to be present in the DOM. At least one of selector or elementText must be specified.",
10584
+ "additionalProperties": false,
10585
+ "anyOf": [
10586
+ {
10587
+ "required": [
10588
+ "selector"
10589
+ ]
10590
+ },
10591
+ {
10592
+ "required": [
10593
+ "elementText"
10594
+ ]
10595
+ }
10596
+ ],
10597
+ "properties": {
10598
+ "selector": {
10599
+ "type": "string",
10600
+ "description": "CSS selector for the element to wait for."
10601
+ },
10602
+ "elementText": {
10603
+ "type": "string",
10604
+ "description": "Text content the element must contain."
10605
+ }
10606
+ }
10607
+ }
10608
+ }
10311
10609
  }
10312
10610
  },
10313
10611
  "title": "Go to URL (detailed)"
@@ -10322,7 +10620,41 @@
10322
10620
  },
10323
10621
  {
10324
10622
  "url": "/search",
10325
- "origin": "www.google.com"
10623
+ "origin": "https://www.google.com"
10624
+ },
10625
+ {
10626
+ "url": "https://www.example.com",
10627
+ "waitUntil": {
10628
+ "networkIdleTime": 500
10629
+ }
10630
+ },
10631
+ {
10632
+ "url": "https://www.example.com/dashboard",
10633
+ "waitUntil": {
10634
+ "find": {
10635
+ "selector": "[data-testid='dashboard-loaded']"
10636
+ }
10637
+ }
10638
+ },
10639
+ {
10640
+ "url": "https://www.example.com/app",
10641
+ "timeout": 60000,
10642
+ "waitUntil": {
10643
+ "networkIdleTime": 500,
10644
+ "domIdleTime": 1000,
10645
+ "find": {
10646
+ "selector": ".main-content",
10647
+ "elementText": "Dashboard"
10648
+ }
10649
+ }
10650
+ },
10651
+ {
10652
+ "url": "https://www.example.com/status",
10653
+ "waitUntil": {
10654
+ "find": {
10655
+ "elementText": "System operational"
10656
+ }
10657
+ }
10326
10658
  }
10327
10659
  ]
10328
10660
  }