Playwright Cucumber TS Steps
    Preparing search index...

    Function clickOnNthColumnInRow

    • Clicks on a specific column in a row identified by a selector.

      Parameters

      • page: any

        The Playwright page object

      • columnIndex: number

        The 1-based index of the column to click

      • rowSelectorKey: string

        The selector key for the row (can be a fixture key or raw CSS selector)

      • Optionaltable: any

        Optional table data for click options

      Returns Promise<void>

      When I pw click on 1st column in row "table#users tbody tr:first-child"
      
      When I pw click on 2nd column in row "tr.user-row"
      
      When I pw click on 3rd column in row ".data-table tbody tr:last-child"
      
      When I pw click on 4th column in row "tr[data-id='123']"