cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Chrome cookie value

rj.latherow
Level 3

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

1 BEST ANSWER

Helpful Answers

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

Senior Consultant
Wonderbotz

View answer in original post

2 REPLIES 2

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

Senior Consultant
Wonderbotz

rj.latherow
Level 3

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.