Playwright Cucumber TS Steps
    Preparing search index...
    • Uploads a file to an <input type="file"> element. Supports fixtures for reusable selectors and file paths. The file path is resolved relative to the current working directory of the project.

      Parameters

      • page: any
      • fileNameKey: string
      • selectorKey: string

      Returns Promise<void>

      When I pw upload file "files.avatarImage" to "selectors.avatarUpload"