Viewing cookies stored by a web page in Safari
I wanted to check on the cookies stored when I visited a site using
Safari 9.1.1 (10601.6.17) on a MacBook Pro laptop running OS X
Yosemite (10.10.5). When I clicked on Safari on the Safari
bar and then selected Preferences, then Privacy,
I saw a "Cookies and website data" section, but no means to view
the cookies, only a way to delete them by clicking on Remove All
However, you can configure Safari to show details on cookies that are
placed on the system when you visit a webpage by taking the following steps
within the Safari browser.
Click on Safari.
Click on Advanced.
Click on the check box next to "Show Develop menu in menu bar. You will then
see Develop appear on Safari's menu bar.
Click on Develop on the menu bar.
Select Show Web Inspector.
Click on Storage. You will see Cookies in the left pane.
Click on Coookies in the left pane to expand it, which will show you
cookies placed on your system when you visited the page in the Safari tab
you are currently viewing.
If you click on one of the sites listed under Cookies, you can see
the particular cookies associated with that site
Note: if, instead, you wish to see a list of all the cookies that are
currently stored by Safari for all sites, see
View all Safari
cookies on an OS X system for instructions on how you can do so
using a Python script.
View all Safari cookies on an OS X system
Viewing the source code for a
webpage under Safari and changing the user agent