@@ -3207,14 +3207,15 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3207
3207
},
3208
3208
wantErr : false ,
3209
3209
want : & seleniumGridScalerMetadata {
3210
- URL : "http://selenium-hub:4444/graphql" ,
3211
- BrowserName : "chrome" ,
3212
- SessionBrowserName : "chrome" ,
3213
- TargetValue : 1 ,
3214
- BrowserVersion : "" ,
3215
- PlatformName : "" ,
3216
- NodeMaxSessions : 1 ,
3217
- Capabilities : "" ,
3210
+ URL : "http://selenium-hub:4444/graphql" ,
3211
+ BrowserName : "chrome" ,
3212
+ SessionBrowserName : "chrome" ,
3213
+ TargetValue : 1 ,
3214
+ BrowserVersion : "" ,
3215
+ PlatformName : "" ,
3216
+ NodeMaxSessions : 1 ,
3217
+ EnableManagedDownloads : true ,
3218
+ Capabilities : "" ,
3218
3219
},
3219
3220
},
3220
3221
{
@@ -3230,14 +3231,15 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3230
3231
},
3231
3232
wantErr : false ,
3232
3233
want : & seleniumGridScalerMetadata {
3233
- URL : "http://selenium-hub:4444/graphql" ,
3234
- BrowserName : "MicrosoftEdge" ,
3235
- SessionBrowserName : "msedge" ,
3236
- TargetValue : 1 ,
3237
- BrowserVersion : "" ,
3238
- PlatformName : "" ,
3239
- NodeMaxSessions : 1 ,
3240
- Capabilities : "" ,
3234
+ URL : "http://selenium-hub:4444/graphql" ,
3235
+ BrowserName : "MicrosoftEdge" ,
3236
+ SessionBrowserName : "msedge" ,
3237
+ TargetValue : 1 ,
3238
+ BrowserVersion : "" ,
3239
+ PlatformName : "" ,
3240
+ NodeMaxSessions : 1 ,
3241
+ EnableManagedDownloads : true ,
3242
+ Capabilities : "" ,
3241
3243
},
3242
3244
},
3243
3245
{
@@ -3252,14 +3254,15 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3252
3254
},
3253
3255
wantErr : false ,
3254
3256
want : & seleniumGridScalerMetadata {
3255
- URL : "http://selenium-hub:4444/graphql" ,
3256
- BrowserName : "" ,
3257
- SessionBrowserName : "" ,
3258
- TargetValue : 1 ,
3259
- BrowserVersion : "" ,
3260
- PlatformName : "" ,
3261
- NodeMaxSessions : 1 ,
3262
- Capabilities : "" ,
3257
+ URL : "http://selenium-hub:4444/graphql" ,
3258
+ BrowserName : "" ,
3259
+ SessionBrowserName : "" ,
3260
+ TargetValue : 1 ,
3261
+ BrowserVersion : "" ,
3262
+ PlatformName : "" ,
3263
+ NodeMaxSessions : 1 ,
3264
+ EnableManagedDownloads : true ,
3265
+ Capabilities : "" ,
3263
3266
},
3264
3267
},
3265
3268
{
@@ -3279,16 +3282,17 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3279
3282
},
3280
3283
wantErr : false ,
3281
3284
want : & seleniumGridScalerMetadata {
3282
- URL : "http://selenium-hub:4444/graphql" ,
3283
- Username : "user" ,
3284
- Password : "password" ,
3285
- BrowserName : "MicrosoftEdge" ,
3286
- SessionBrowserName : "msedge" ,
3287
- TargetValue : 1 ,
3288
- BrowserVersion : "" ,
3289
- PlatformName : "" ,
3290
- NodeMaxSessions : 1 ,
3291
- Capabilities : "" ,
3285
+ URL : "http://selenium-hub:4444/graphql" ,
3286
+ Username : "user" ,
3287
+ Password : "password" ,
3288
+ BrowserName : "MicrosoftEdge" ,
3289
+ SessionBrowserName : "msedge" ,
3290
+ TargetValue : 1 ,
3291
+ BrowserVersion : "" ,
3292
+ PlatformName : "" ,
3293
+ NodeMaxSessions : 1 ,
3294
+ EnableManagedDownloads : true ,
3295
+ Capabilities : "" ,
3292
3296
},
3293
3297
},
3294
3298
{
@@ -3308,16 +3312,17 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3308
3312
},
3309
3313
wantErr : false ,
3310
3314
want : & seleniumGridScalerMetadata {
3311
- URL : "http://selenium-hub:4444/graphql" ,
3312
- BrowserName : "MicrosoftEdge" ,
3313
- SessionBrowserName : "msedge" ,
3314
- TargetValue : 1 ,
3315
- BrowserVersion : "" ,
3316
- PlatformName : "" ,
3317
- Username : "username" ,
3318
- Password : "password" ,
3319
- NodeMaxSessions : 1 ,
3320
- Capabilities : "" ,
3315
+ URL : "http://selenium-hub:4444/graphql" ,
3316
+ BrowserName : "MicrosoftEdge" ,
3317
+ SessionBrowserName : "msedge" ,
3318
+ TargetValue : 1 ,
3319
+ BrowserVersion : "" ,
3320
+ PlatformName : "" ,
3321
+ Username : "username" ,
3322
+ Password : "password" ,
3323
+ NodeMaxSessions : 1 ,
3324
+ EnableManagedDownloads : true ,
3325
+ Capabilities : "" ,
3321
3326
},
3322
3327
},
3323
3328
{
@@ -3366,15 +3371,16 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3366
3371
},
3367
3372
wantErr : false ,
3368
3373
want : & seleniumGridScalerMetadata {
3369
- URL : "http://selenium-hub:4444/graphql" ,
3370
- BrowserName : "chrome" ,
3371
- SessionBrowserName : "chrome" ,
3372
- TargetValue : 1 ,
3373
- BrowserVersion : "91.0" ,
3374
- UnsafeSsl : false ,
3375
- PlatformName : "" ,
3376
- NodeMaxSessions : 1 ,
3377
- Capabilities : "" ,
3374
+ URL : "http://selenium-hub:4444/graphql" ,
3375
+ BrowserName : "chrome" ,
3376
+ SessionBrowserName : "chrome" ,
3377
+ TargetValue : 1 ,
3378
+ BrowserVersion : "91.0" ,
3379
+ UnsafeSsl : false ,
3380
+ PlatformName : "" ,
3381
+ NodeMaxSessions : 1 ,
3382
+ EnableManagedDownloads : true ,
3383
+ Capabilities : "" ,
3378
3384
},
3379
3385
},
3380
3386
{
@@ -3392,16 +3398,17 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3392
3398
},
3393
3399
wantErr : false ,
3394
3400
want : & seleniumGridScalerMetadata {
3395
- URL : "http://selenium-hub:4444/graphql" ,
3396
- BrowserName : "chrome" ,
3397
- SessionBrowserName : "chrome" ,
3398
- TargetValue : 1 ,
3399
- ActivationThreshold : 10 ,
3400
- BrowserVersion : "91.0" ,
3401
- UnsafeSsl : true ,
3402
- PlatformName : "" ,
3403
- NodeMaxSessions : 1 ,
3404
- Capabilities : "" ,
3401
+ URL : "http://selenium-hub:4444/graphql" ,
3402
+ BrowserName : "chrome" ,
3403
+ SessionBrowserName : "chrome" ,
3404
+ TargetValue : 1 ,
3405
+ ActivationThreshold : 10 ,
3406
+ BrowserVersion : "91.0" ,
3407
+ UnsafeSsl : true ,
3408
+ PlatformName : "" ,
3409
+ NodeMaxSessions : 1 ,
3410
+ EnableManagedDownloads : true ,
3411
+ Capabilities : "" ,
3405
3412
},
3406
3413
},
3407
3414
{
@@ -3434,16 +3441,17 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3434
3441
},
3435
3442
wantErr : false ,
3436
3443
want : & seleniumGridScalerMetadata {
3437
- URL : "http://selenium-hub:4444/graphql" ,
3438
- BrowserName : "chrome" ,
3439
- SessionBrowserName : "chrome" ,
3440
- TargetValue : 1 ,
3441
- ActivationThreshold : 10 ,
3442
- BrowserVersion : "91.0" ,
3443
- UnsafeSsl : true ,
3444
- PlatformName : "" ,
3445
- NodeMaxSessions : 1 ,
3446
- Capabilities : "" ,
3444
+ URL : "http://selenium-hub:4444/graphql" ,
3445
+ BrowserName : "chrome" ,
3446
+ SessionBrowserName : "chrome" ,
3447
+ TargetValue : 1 ,
3448
+ ActivationThreshold : 10 ,
3449
+ BrowserVersion : "91.0" ,
3450
+ UnsafeSsl : true ,
3451
+ PlatformName : "" ,
3452
+ NodeMaxSessions : 1 ,
3453
+ EnableManagedDownloads : true ,
3454
+ Capabilities : "" ,
3447
3455
},
3448
3456
},
3449
3457
{
@@ -3462,16 +3470,17 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3462
3470
},
3463
3471
wantErr : false ,
3464
3472
want : & seleniumGridScalerMetadata {
3465
- URL : "http://selenium-hub:4444/graphql" ,
3466
- BrowserName : "chrome" ,
3467
- SessionBrowserName : "chrome" ,
3468
- TargetValue : 1 ,
3469
- ActivationThreshold : 10 ,
3470
- BrowserVersion : "91.0" ,
3471
- UnsafeSsl : true ,
3472
- PlatformName : "Windows 11" ,
3473
- NodeMaxSessions : 1 ,
3474
- Capabilities : "" ,
3473
+ URL : "http://selenium-hub:4444/graphql" ,
3474
+ BrowserName : "chrome" ,
3475
+ SessionBrowserName : "chrome" ,
3476
+ TargetValue : 1 ,
3477
+ ActivationThreshold : 10 ,
3478
+ BrowserVersion : "91.0" ,
3479
+ UnsafeSsl : true ,
3480
+ PlatformName : "Windows 11" ,
3481
+ NodeMaxSessions : 1 ,
3482
+ EnableManagedDownloads : true ,
3483
+ Capabilities : "" ,
3475
3484
},
3476
3485
},
3477
3486
{
@@ -3495,18 +3504,19 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3495
3504
},
3496
3505
wantErr : false ,
3497
3506
want : & seleniumGridScalerMetadata {
3498
- URL : "http://selenium-hub:4444/graphql" ,
3499
- Username : "user" ,
3500
- Password : "password" ,
3501
- BrowserName : "chrome" ,
3502
- SessionBrowserName : "chrome" ,
3503
- TargetValue : 1 ,
3504
- ActivationThreshold : 10 ,
3505
- BrowserVersion : "91.0" ,
3506
- UnsafeSsl : true ,
3507
- PlatformName : "Windows 11" ,
3508
- NodeMaxSessions : 3 ,
3509
- Capabilities : "" ,
3507
+ URL : "http://selenium-hub:4444/graphql" ,
3508
+ Username : "user" ,
3509
+ Password : "password" ,
3510
+ BrowserName : "chrome" ,
3511
+ SessionBrowserName : "chrome" ,
3512
+ TargetValue : 1 ,
3513
+ ActivationThreshold : 10 ,
3514
+ BrowserVersion : "91.0" ,
3515
+ UnsafeSsl : true ,
3516
+ PlatformName : "Windows 11" ,
3517
+ NodeMaxSessions : 3 ,
3518
+ EnableManagedDownloads : true ,
3519
+ Capabilities : "" ,
3510
3520
},
3511
3521
},
3512
3522
{
@@ -3531,18 +3541,19 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3531
3541
},
3532
3542
wantErr : false ,
3533
3543
want : & seleniumGridScalerMetadata {
3534
- URL : "http://selenium-hub:4444/graphql" ,
3535
- Username : "user" ,
3536
- Password : "password" ,
3537
- BrowserName : "chrome" ,
3538
- SessionBrowserName : "chrome" ,
3539
- TargetValue : 1 ,
3540
- ActivationThreshold : 10 ,
3541
- BrowserVersion : "91.0" ,
3542
- UnsafeSsl : true ,
3543
- PlatformName : "Windows 11" ,
3544
- NodeMaxSessions : 3 ,
3545
- Capabilities : "" ,
3544
+ URL : "http://selenium-hub:4444/graphql" ,
3545
+ Username : "user" ,
3546
+ Password : "password" ,
3547
+ BrowserName : "chrome" ,
3548
+ SessionBrowserName : "chrome" ,
3549
+ TargetValue : 1 ,
3550
+ ActivationThreshold : 10 ,
3551
+ BrowserVersion : "91.0" ,
3552
+ UnsafeSsl : true ,
3553
+ PlatformName : "Windows 11" ,
3554
+ NodeMaxSessions : 3 ,
3555
+ EnableManagedDownloads : true ,
3556
+ Capabilities : "" ,
3546
3557
},
3547
3558
},
3548
3559
{
@@ -3567,18 +3578,19 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3567
3578
},
3568
3579
wantErr : false ,
3569
3580
want : & seleniumGridScalerMetadata {
3570
- URL : "http://selenium-hub:4444/graphql" ,
3571
- AuthType : "OAuth2" ,
3572
- AccessToken : "my-access-token" ,
3573
- BrowserName : "chrome" ,
3574
- SessionBrowserName : "chrome" ,
3575
- TargetValue : 1 ,
3576
- ActivationThreshold : 10 ,
3577
- BrowserVersion : "91.0" ,
3578
- UnsafeSsl : true ,
3579
- PlatformName : "Windows 11" ,
3580
- NodeMaxSessions : 3 ,
3581
- Capabilities : "" ,
3581
+ URL : "http://selenium-hub:4444/graphql" ,
3582
+ AuthType : "OAuth2" ,
3583
+ AccessToken : "my-access-token" ,
3584
+ BrowserName : "chrome" ,
3585
+ SessionBrowserName : "chrome" ,
3586
+ TargetValue : 1 ,
3587
+ ActivationThreshold : 10 ,
3588
+ BrowserVersion : "91.0" ,
3589
+ UnsafeSsl : true ,
3590
+ PlatformName : "Windows 11" ,
3591
+ NodeMaxSessions : 3 ,
3592
+ EnableManagedDownloads : true ,
3593
+ Capabilities : "" ,
3582
3594
},
3583
3595
},
3584
3596
{
@@ -3602,18 +3614,19 @@ func Test_parseSeleniumGridScalerMetadata(t *testing.T) {
3602
3614
},
3603
3615
wantErr : false ,
3604
3616
want : & seleniumGridScalerMetadata {
3605
- URL : "http://selenium-hub:4444/graphql" ,
3606
- AuthType : "Bearer" ,
3607
- AccessToken : "my-access-token" ,
3608
- BrowserName : "chrome" ,
3609
- SessionBrowserName : "chrome" ,
3610
- TargetValue : 1 ,
3611
- ActivationThreshold : 10 ,
3612
- BrowserVersion : "91.0" ,
3613
- UnsafeSsl : true ,
3614
- PlatformName : "Windows 11" ,
3615
- NodeMaxSessions : 3 ,
3616
- Capabilities : "" ,
3617
+ URL : "http://selenium-hub:4444/graphql" ,
3618
+ AuthType : "Bearer" ,
3619
+ AccessToken : "my-access-token" ,
3620
+ BrowserName : "chrome" ,
3621
+ SessionBrowserName : "chrome" ,
3622
+ TargetValue : 1 ,
3623
+ ActivationThreshold : 10 ,
3624
+ BrowserVersion : "91.0" ,
3625
+ UnsafeSsl : true ,
3626
+ PlatformName : "Windows 11" ,
3627
+ NodeMaxSessions : 3 ,
3628
+ EnableManagedDownloads : true ,
3629
+ Capabilities : "" ,
3617
3630
},
3618
3631
},
3619
3632
}
0 commit comments