k6-cucumber-steps API Reference - v2.0.10-alpha.0
    Preparing search index...

    Function k6IFillTheFieldWith

    • Fills a field with a value.

      Parameters

      • page: any

        Browser page object

      • selector: string

        Input field selector

      • value: string

        Value to fill

      • Optionalnth: string

        Optional: 1-based index for nth element

      Returns Promise<void>

      And I k6 fill the field "#firstName" with "John"
      And I k6 fill the field "input" with "test" "2"