How to copy cookies in Google Chrome?
I think I have found something. I can press Ctrl+A and Drag & Drop the values in a TextBox and then copy it from there.
As pointed by @jmccure,
Ctrl+A, hold Shift and right click and copy.
Update: Chrome 58 added a support to edit cookies
Cross-browser Solution:
- Hit F12 or Right-click page and Inspect to open the Developer Tools
- Click the Application Tab (which used to be called Resources)
- Open Cookies on the left, select your site/domain
- Double-click cookie column Value
- CTRL/Command + C or Right-click and select Copy
An alternative approach to copy a long cookie value:
- Repeat the request with the Network tab open.
- Right-click the relevant request (in the list on the left-hand side).
- Choose Copy as cURL.
- Extract the cookie from the generated
Cookie
header option.
For example: curl 'http://...' -H 'Cookie: session=...' ...