idea-at
    Preparing search index...

    Function selectItemInListByText

    • Selects an ion-item element in an ion-list by matching its text content

      Parameters

      • page: Page

        The Playwright Page object

      • text: string

        The text content to search for within the ion-item

      • timeout: number = 10000

        Maximum time in ms to wait for items to appear (defaults to 10000)

      Returns Promise<void>

      Promise that resolves when the item is clicked