-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Playwright version
1.15.3
Operating system
Linux
What browsers are you seeing the problem on?
Chromium, Firefox, WebKit
Other information
Repo to present bug:
https://github.com/qwark97/har_omit_content_bug
Bug occurs also outside the docker image
What happened? / Describe the bug
Using record_har_omit_content
as a new_page
parameter can manipulate presence of the text
filed inside entry.response.content
object in .har
file.
Not using this parameter (defaults to False
https://playwright.dev/python/docs/api/class-browser#browser-new-page) allows to see text
inside .har
file. Using record_har_omit_content=True
also works as expected - text
is absent. Unfortunatelly, passing record_har_omit_content=False
explicitely does not work as expected -> .har
file will not contain text
filed.
It also looks like passing anything except explicit None
as a record_har_omit_content
value (type doesn't matter) will cause with missing text
filed
Code snippet to reproduce your bug
No response
Relevant log output
No response