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

Support for response body #22

Open
n2o1988 opened this issue Sep 29, 2023 · 7 comments
Open

Support for response body #22

n2o1988 opened this issue Sep 29, 2023 · 7 comments

Comments

@n2o1988
Copy link
Contributor

n2o1988 commented Sep 29, 2023

Hi @juliandescottes, first of all thank you so much for this tool!
I was wondering if there are plans to include response bodies in the generated har files? Not sure if that's something that's even supported by the BiDi standard today but I thought I'd ask.

I've been following developments on https://bugzilla.mozilla.org/show_bug.cgi?id=1744483 and I'm in a similar position as the user who opened the bug, where I need to get access to Network logs as part of a selenium-based automation test.

@juliandescottes
Copy link
Member

Hi, thanks for reaching out!

At the moment response bodies are not in the BiDi spec but that might change in the future.
There's interest to expose response bodies for network interception scenarios, see w3c/webdriver-bidi#541 . When this happens, there should at least be an option to add response bodies to network events (and then we can add it here).

@n2o1988
Copy link
Contributor Author

n2o1988 commented Oct 3, 2023

Hi Julian, thanks a million for the response! I'll look forward to the specs to incorporate that option in the future 👌

@bgrins
Copy link

bgrins commented Jul 26, 2024

This would be nice. I see w3c/webdriver-bidi#747 as well.

@soulgalore
Copy link
Contributor

Hi, I forgot that we lost that information when we switched from the HAR trigger in Browsertime. Is there a way to actually get the response today through Bidi? I've been heavily using that functionality (but for Chrome) for Wikipedia. It's super useful to have the actual HTML/JavaScript from the time the test were running so I can see exact what code we had at that time.

@juliandescottes
Copy link
Member

At the moment we still don't support getting the network response body from BiDi.

@Vinodh7887
Copy link

is there any update when we should be able to extract network response body using BiDi?

@whimboo
Copy link
Contributor

whimboo commented Dec 18, 2024

Please see w3c/webdriver-bidi#747 as reference. Hopefully in Q1 2025 we should have it included in the specification to get started.

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

6 participants