You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to mock an API application/x-protobuffer endpoint. The main issue is that the request().postData() method is changing/corrupting the body data somehow. The bug can be checked with the code snippet I provided. It doesn't work if you try to continue the request with the post data provided by request().postData() object but if you change the route to route.continue() without adding the playwright postData object inside the page is rendered as expected.
I've noticed the XHR request is not shown at all via the chrome inspector on each case, including the working one.
Firefox is not returning any postData at all for the application/x-protobuffer endpoint in cause and I get null each time
The text was updated successfully, but these errors were encountered:
Context:
Code Snippet
code snippet:
bug
I'm trying to mock an API application/x-protobuffer endpoint. The main issue is that the request().postData() method is changing/corrupting the body data somehow. The bug can be checked with the code snippet I provided. It doesn't work if you try to continue the request with the post data provided by request().postData() object but if you change the route to
route.continue()
without adding the playwright postData object inside the page is rendered as expected.I've noticed the XHR request is not shown at all via the chrome inspector on each case, including the working one.
Firefox is not returning any postData at all for the application/x-protobuffer endpoint in cause and I get
null
each timeThe text was updated successfully, but these errors were encountered: