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
First off, congrats and thank you for an incredible project! I'm trying to capture response headers from a website. In issue #59 you referenced responses working like default playwright. When attempting to capture response headers, I am not able to do so like default playwright. No headers are ever found.
Add a description of what the bug is. Provide as much detail and additional context as possible.
Screenshots:
If applicable, add screenshots to help explain your problem.
To Reproduce:
def capture_response_headers(response):
if response.url.startswith("https://www.example.com"):
headers = response.headers
print(headers)
context.on("response", capture_response_headers)
Route to intercept responses
context.on("response", capture_response_headers)
Provide steps or a code snippet that reproduces the bug.
Version:
Pip package: v0.3.9
Camoufox: v132.0-beta.15 (Up to date!)
Run python -m camoufox version in your terminal and paste the output here.
The text was updated successfully, but these errors were encountered:
Hi, I was just trying camoufox today and I deployed two exactly same scripts on Linux and Windows machine. On Linux headers were as expected, but on Windows no headers were found. Exactly like described in this issue.
Describe the bug:
First off, congrats and thank you for an incredible project! I'm trying to capture response headers from a website. In issue #59 you referenced responses working like default playwright. When attempting to capture response headers, I am not able to do so like default playwright. No headers are ever found.
Add a description of what the bug is. Provide as much detail and additional context as possible.
Screenshots:
If applicable, add screenshots to help explain your problem.
To Reproduce:
Route to intercept responses
context.on("response", capture_response_headers)
Provide steps or a code snippet that reproduces the bug.
Version:
Pip package: v0.3.9
Camoufox: v132.0-beta.15 (Up to date!)
Run
python -m camoufox version
in your terminal and paste the output here.The text was updated successfully, but these errors were encountered: