@@ -205,6 +205,7 @@ func NewFrameBaseOptions(defaultTimeout time.Duration) *FrameBaseOptions {
205
205
}
206
206
}
207
207
208
+ // Parse parses the frame base options.
208
209
func (o * FrameBaseOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
209
210
rt := k6ext .Runtime (ctx )
210
211
if opts != nil && ! sobek .IsUndefined (opts ) && ! sobek .IsNull (opts ) {
@@ -228,6 +229,7 @@ func NewFrameCheckOptions(defaultTimeout time.Duration) *FrameCheckOptions {
228
229
}
229
230
}
230
231
232
+ // Parse parses the frame check options.
231
233
func (o * FrameCheckOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
232
234
if err := o .ElementHandleBasePointerOptions .Parse (ctx , opts ); err != nil {
233
235
return err
@@ -243,6 +245,7 @@ func NewFrameClickOptions(defaultTimeout time.Duration) *FrameClickOptions {
243
245
}
244
246
}
245
247
248
+ // Parse parses the frame click options.
246
249
func (o * FrameClickOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
247
250
if err := o .ElementHandleClickOptions .Parse (ctx , opts ); err != nil {
248
251
return err
@@ -258,6 +261,7 @@ func NewFrameDblClickOptions(defaultTimeout time.Duration) *FrameDblclickOptions
258
261
}
259
262
}
260
263
264
+ // Parse parses the frame dblclick options.
261
265
func (o * FrameDblclickOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
262
266
if err := o .ElementHandleDblclickOptions .Parse (ctx , opts ); err != nil {
263
267
return err
@@ -273,6 +277,7 @@ func NewFrameFillOptions(defaultTimeout time.Duration) *FrameFillOptions {
273
277
}
274
278
}
275
279
280
+ // Parse parses the frame fill options.
276
281
func (o * FrameFillOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
277
282
if err := o .ElementHandleBaseOptions .Parse (ctx , opts ); err != nil {
278
283
return err
@@ -289,6 +294,7 @@ func NewFrameGotoOptions(defaultReferer string, defaultTimeout time.Duration) *F
289
294
}
290
295
}
291
296
297
+ // Parse parses the frame goto options.
292
298
func (o * FrameGotoOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
293
299
rt := k6ext .Runtime (ctx )
294
300
if opts != nil && ! sobek .IsUndefined (opts ) && ! sobek .IsNull (opts ) {
@@ -317,6 +323,7 @@ func NewFrameHoverOptions(defaultTimeout time.Duration) *FrameHoverOptions {
317
323
}
318
324
}
319
325
326
+ // Parse parses the frame hover options.
320
327
func (o * FrameHoverOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
321
328
if err := o .ElementHandleHoverOptions .Parse (ctx , opts ); err != nil {
322
329
return err
@@ -331,6 +338,7 @@ func NewFrameInnerHTMLOptions(defaultTimeout time.Duration) *FrameInnerHTMLOptio
331
338
}
332
339
}
333
340
341
+ // Parse parses the frame innerHTML options.
334
342
func (o * FrameInnerHTMLOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
335
343
if err := o .FrameBaseOptions .Parse (ctx , opts ); err != nil {
336
344
return err
@@ -344,6 +352,7 @@ func NewFrameInnerTextOptions(defaultTimeout time.Duration) *FrameInnerTextOptio
344
352
}
345
353
}
346
354
355
+ // Parse parses the frame innerText options.
347
356
func (o * FrameInnerTextOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
348
357
if err := o .FrameBaseOptions .Parse (ctx , opts ); err != nil {
349
358
return err
@@ -357,6 +366,7 @@ func NewFrameInputValueOptions(defaultTimeout time.Duration) *FrameInputValueOpt
357
366
}
358
367
}
359
368
369
+ // Parse parses the frame inputValue options.
360
370
func (o * FrameInputValueOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
361
371
if err := o .FrameBaseOptions .Parse (ctx , opts ); err != nil {
362
372
return err
@@ -370,6 +380,7 @@ func NewFrameIsCheckedOptions(defaultTimeout time.Duration) *FrameIsCheckedOptio
370
380
}
371
381
}
372
382
383
+ // Parse parses the frame isChecked options.
373
384
func (o * FrameIsCheckedOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
374
385
if err := o .FrameBaseOptions .Parse (ctx , opts ); err != nil {
375
386
return err
@@ -383,6 +394,7 @@ func NewFrameIsDisabledOptions(defaultTimeout time.Duration) *FrameIsDisabledOpt
383
394
}
384
395
}
385
396
397
+ // Parse parses the frame isDisabled options.
386
398
func (o * FrameIsDisabledOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
387
399
if err := o .FrameBaseOptions .Parse (ctx , opts ); err != nil {
388
400
return err
@@ -396,6 +408,7 @@ func NewFrameIsEditableOptions(defaultTimeout time.Duration) *FrameIsEditableOpt
396
408
}
397
409
}
398
410
411
+ // Parse parses the frame isEditable options.
399
412
func (o * FrameIsEditableOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
400
413
if err := o .FrameBaseOptions .Parse (ctx , opts ); err != nil {
401
414
return err
@@ -409,6 +422,7 @@ func NewFrameIsEnabledOptions(defaultTimeout time.Duration) *FrameIsEnabledOptio
409
422
}
410
423
}
411
424
425
+ // Parse parses the frame isEnabled options.
412
426
func (o * FrameIsEnabledOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
413
427
if err := o .FrameBaseOptions .Parse (ctx , opts ); err != nil {
414
428
return err
@@ -421,6 +435,7 @@ func NewFrameIsHiddenOptions() *FrameIsHiddenOptions {
421
435
return & FrameIsHiddenOptions {}
422
436
}
423
437
438
+ // Parse parses FrameIsHiddenOptions from sobek.Value.
424
439
func (o * FrameIsHiddenOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
425
440
o .Strict = parseStrict (ctx , opts )
426
441
return nil
@@ -431,6 +446,7 @@ func NewFrameIsVisibleOptions() *FrameIsVisibleOptions {
431
446
return & FrameIsVisibleOptions {}
432
447
}
433
448
449
+ // Parse parses FrameIsVisibleOptions from sobek.Value.
434
450
func (o * FrameIsVisibleOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
435
451
o .Strict = parseStrict (ctx , opts )
436
452
return nil
@@ -456,6 +472,7 @@ func NewFrameSelectOptionOptions(defaultTimeout time.Duration) *FrameSelectOptio
456
472
}
457
473
}
458
474
475
+ // Parse parses the frame selectOption options.
459
476
func (o * FrameSelectOptionOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
460
477
if err := o .ElementHandleBaseOptions .Parse (ctx , opts ); err != nil {
461
478
return err
@@ -471,6 +488,7 @@ func NewFrameSetContentOptions(defaultTimeout time.Duration) *FrameSetContentOpt
471
488
}
472
489
}
473
490
491
+ // Parse parses the frame setContent options.
474
492
func (o * FrameSetContentOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
475
493
rt := k6ext .Runtime (ctx )
476
494
@@ -516,6 +534,7 @@ func NewFrameTapOptions(defaultTimeout time.Duration) *FrameTapOptions {
516
534
}
517
535
}
518
536
537
+ // Parse parses the frame tap options.
519
538
func (o * FrameTapOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
520
539
rt := k6ext .Runtime (ctx )
521
540
if err := o .ElementHandleBasePointerOptions .Parse (ctx , opts ); err != nil {
@@ -545,6 +564,7 @@ func NewFrameTextContentOptions(defaultTimeout time.Duration) *FrameTextContentO
545
564
}
546
565
}
547
566
567
+ // Parse parses the frame textContent options.
548
568
func (o * FrameTextContentOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
549
569
if err := o .FrameBaseOptions .Parse (ctx , opts ); err != nil {
550
570
return err
@@ -572,6 +592,7 @@ func NewFrameUncheckOptions(defaultTimeout time.Duration) *FrameUncheckOptions {
572
592
}
573
593
}
574
594
595
+ // Parse parses the frame uncheck options.
575
596
func (o * FrameUncheckOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
576
597
if err := o .ElementHandleBasePointerOptions .Parse (ctx , opts ); err != nil {
577
598
return err
@@ -627,6 +648,7 @@ func NewFrameWaitForLoadStateOptions(defaultTimeout time.Duration) *FrameWaitFor
627
648
}
628
649
}
629
650
651
+ // Parse parses the frame waitForLoadState options.
630
652
func (o * FrameWaitForLoadStateOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
631
653
rt := k6ext .Runtime (ctx )
632
654
if opts != nil && ! sobek .IsUndefined (opts ) && ! sobek .IsNull (opts ) {
@@ -649,6 +671,7 @@ func NewFrameWaitForNavigationOptions(defaultTimeout time.Duration) *FrameWaitFo
649
671
}
650
672
}
651
673
674
+ // Parse parses the frame waitForNavigation options.
652
675
func (o * FrameWaitForNavigationOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
653
676
rt := k6ext .Runtime (ctx )
654
677
if opts != nil && ! sobek .IsUndefined (opts ) && ! sobek .IsNull (opts ) {
@@ -678,6 +701,7 @@ func NewFrameWaitForSelectorOptions(defaultTimeout time.Duration) *FrameWaitForS
678
701
}
679
702
}
680
703
704
+ // Parse parses the frame waitForSelector options.
681
705
func (o * FrameWaitForSelectorOptions ) Parse (ctx context.Context , opts sobek.Value ) error {
682
706
rt := k6ext .Runtime (ctx )
683
707
0 commit comments