Open
Description
Version
1.52.0
Steps to reproduce
- Send below request:
const verifyResponse = await page.request.fetch(verifyURL, { method: 'POST', data: { otp: 0000 } });
- Received error: TypeError: apiRequestContext.fetch: The "listener" argument must be of type function. Received an instance of Object
Expected behavior
I expect request to send successfully
Actual behavior
TypeError: apiRequestContext.fetch: The "listener" argument must be of type function. Received an instance of Object
Additional context
This only occurs in CI, local seems fine, I am using the 1.52.0 Jammy image
Using node 20
Environment
System:
OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
Memory: (8) arm64
Binaries:
Node: 20.8.0 - ~/.nvm/versions/node/v20.8.0/bin/node
npm: 10.1.0 - ~/.nvm/versions/node/v20.8.0/bin/npm
npmPackages:
playwright: ^1.52.0 => 1.52.0
Metadata
Metadata
Assignees
Labels
No labels