Playwright Cucumber TS Steps
    Preparing search index...

    Function typeAndAcceptPrompt

    • Sets up a listener to type a specific string into the next browser prompt and then accept it. Supports fixtures for reusable prompt values. Note: This must be called before the action that triggers the prompt.

      Parameters

      • page: any
      • textKey: string

      Returns Promise<void>

      Given I pw type "prompt.folderName" into the next prompt and accept