1. From the Safari menu, select Clear History and Website Data....
  2. Select the desired time range, and then click Clear History.
  3. Go to Safari > Quit Safari or press Command-Q to exit the browser completely.