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

    Function k6IFillNthFieldBySelector

    • Fills the Nth field matching a selector.

      Parameters

      • page: any

        Browser page object

      • n: string

        Ordinal number (e.g., "1st", "2nd", "3rd")

      • selector: string

        CSS selector

      • value: string

        Value to fill

      Returns Promise<void>

      And I k6 fill the "3"rd field element by selector "input" with "value"