1. Click the Safari menu
2. Select Clear History...
3. Select the desired time range(all history is preferred), and then click Clear History.
4. Go to Safari > Quit Safari or press Command-Q to exit the browser completely.