Fork me on GitHub
#etaoin
<
2023-04-21
>
stathissideris15:04:39

hello, is it possible to get the content of the HTTP responses from the network logs?

lread17:04:30

Hi @U050AACJB, this is a common request of users of WebDrivers, but the folks who designed WebDrivers feel that they should be simulating what a typical browser user does and giving access to what that typical user sees. They apparently feel pretty strongly about this. They recommend using a proxy if you want to sniff underlying HTTP traffic. I've not tried this myself yet. There are also chrome dev tools logs which might help, not sure.

stathissideris17:04:19

alright, thanks!

igrishaev04:04:57

I remember, chromedriver has api to sniff the networking events, there is even a wrapper for it in Etaoin.

stathissideris05:04:10

Correct, but it only returns the headers etc if the response, not the actual content

igrishaev06:04:35

hm, right, there are only status/headers here...

lread13:04:11

Hey ho @U1WAUKQ3E! Nice to see you active here! For newbies, Ivan is the original author of Etaoin.