I am making an application that involves controlling Safari from Applescript. Is there a way in the Terminal (preferred) or Applescript to erase Safari’s cookies. Basically I want to the “Reset Safari” item from the menu using the Terminal. Is there a method that can do this?
I am making an application that involves controlling Safari from Applescript. Is there a
Share
You could simply delete the
Cookies.plistfile:Or take a look at this: List & delete Safari cookies