Cookies are acting weird on request vs. selenium browser



  • So i've been messing around with openbullet and I noticed that when using the selenium webbrowser I have access to 5 cookies but when performing the same exact actions using a get request only 1 cookie shows up

    Does anyone know why this happens?

    I can clarify this a but further if its unclear..

    Thanks in advance!!


  • Admin

    A browser might perform a lot more requests under the hood, not just a simple GET to the website you see (the extra requests are triggered by the first page's javascript so you cannot have them with manual requests). You should sniff the traffic with chrome's debugger tools (network tab) and see the extra requests that are performed.



  • @Ruri I've checked this but it seems like there isn't an different requests which returns the desired data

    This is the response header from google chrome:

    93e9b6bb-cf75-4dd0-b9ca-e6b65ecd05c0-image.png

    And these are the response headers I get back in openbullet which seems to be a mismatch

    3d213fdb-fffa-4066-a308-e7a7013f6ada-image.png


  • Admin

    Maybe on chrome you are already logged in / you have cookies from a previous session? Have you tried in incognito mode?


Log in to reply