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
No idea what response.context.connection == this.connection means but this branch is taken, omitting the body, modifying the request in an unexpected way
Additional context
As a workaround I set .setBodyBytes(response.body()) in addition
Environment
ubuntu 24, chrome, jdk 17
The text was updated successfully, but these errors were encountered:
robstoll
changed the title
[Bug]: Java: fulfillImpl does not set body if response specified
[Bug]: fulfillImpl does not set body if response specified
May 16, 2025
Version
1.49.0
Steps to reproduce
kotlin code:
Expected behavior
I expect that the response is untouched routed through my mocker
Actual behavior
com.microsoft.playwright.impl.RouteImpl#fulfillImpl line 194
No idea what
response.context.connection == this.connection
means but this branch is taken, omitting the body, modifying the request in an unexpected wayAdditional context
As a workaround I set
.setBodyBytes(response.body())
in additionEnvironment
ubuntu 24, chrome, jdk 17
The text was updated successfully, but these errors were encountered: