idea-at
    Preparing search index...

    Function getIonButtonByIcon

    • Gets an ion-button element that contains an ion-icon with the specified icon name

      Parameters

      • page: Page

        The Playwright Page object

      • icon: string

        The icon name to search for (matches either icon or name attribute)

      Returns Locator

      Locator for the ion-button element containing the specified icon