Playwright Cucumber TS Steps
    Preparing search index...

    Function browserFetchRequest

    • Makes a generic HTTP request using the browser's fetch API. Supports a data table for headers and an optional body.

      Parameters

      • page: any
      • method: string
      • url: string
      • Optionaltable: any

      Returns Promise<void>

      When I pw make a "PUT" request to "/api/settings"
      | Authorization | Bearer my-token |
      | body | {"theme": "dark"} |