Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Chrome and Webkit always return null for postDataBuffer #15853

Closed
weyert opened this issue Jul 21, 2022 · 2 comments
Closed

[BUG] Chrome and Webkit always return null for postDataBuffer #15853

weyert opened this issue Jul 21, 2022 · 2 comments

Comments

@weyert
Copy link

weyert commented Jul 21, 2022

Context:

  • Playwright Version: 1.23.4
  • Operating System: Mac
  • Node.js version: 18.3.0
  • Browser: Webkit, Chromium

System:

  • OS: macOS 12.4
  • Memory: 99.64 MB / 16.00 GB

Binaries:

  • Node: 18.3.0 - ~/.volta/tools/image/node/18.3.0/bin/node
  • Yarn: 3.2.1 - ~/.volta/tools/image/yarn/1.22.18/bin/yarn
  • npm: 8.13.2 - ~/.volta/tools/image/npm/8.13.2/bin/npm

Languages:

  • Bash: 3.2.57 - /bin/bash

Code Snippet

See repro in this repository:
https://github.com/weyert/playwright-request-data-bug

Describe the bug

I am trying to intercept outgoing POST network requests from a third-party analytics company only I am unable to get the raw request data because the request.postDataBuffer-method always returns null in this case

@mxschmitt
Copy link
Member

Looks similar to #6479.

@dgozman
Copy link
Contributor

dgozman commented Jul 22, 2022

Thank you for the repro! Merging into #6479.

@dgozman dgozman closed this as completed Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants