Playwright Cucumber TS Steps
    Preparing search index...

    Type Alias StepAction

    StepAction: (page: Page, ...args: any[]) => Promise<void>

    Define the type of function for our steps. Every step automatically gets 'page' as the first argument.

    Type Declaration

      • (page: Page, ...args: any[]): Promise<void>
      • Parameters

        • page: Page
        • ...args: any[]

        Returns Promise<void>