30-04-25 04:27 PM
Pretty straightforward - is there any easy way to get the cookie values from a current chrome session? I could do it with Javascript, but hoping there is an 'in the box' way of doing it.
Thanks-
-RJ
Answered! Go to Answer.
05-05-25 10:28 AM
Hi @rj.latherow
Blue Prism doesn't appear to have a built-in method for extracting cookie values directly from a Chrome session. However, I came across an interesting tool on GitHub that might be useful for this scenario:
GitHub - barnardb/cookies: Command-line tool for extracting cookies from the user's web browser
Best Regards,
Sayeed Bin Abdullah
05-05-25 10:28 AM
Hi @rj.latherow
Blue Prism doesn't appear to have a built-in method for extracting cookie values directly from a Chrome session. However, I came across an interesting tool on GitHub that might be useful for this scenario:
GitHub - barnardb/cookies: Command-line tool for extracting cookies from the user's web browser
Best Regards,
Sayeed Bin Abdullah
2 weeks ago
To close this out- Sayeed Bin Abdullah's tip led me down a few rabbit holes. In the end, I was able to accomplish what I wanted using the Selenium driver in the BP Automate Root folder to get the entire cookie collection as a string to use in HTTP requests. It is currently working perfectly for all cookies, for now. I think that is the only 'easy' way.