This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can I Clear all history from command line?

  • 3 replies
  • 3 have this problem
  • 1 view
  • Last reply by ideato

more options

Is there a way to simulate clearing all history

Tools -> Clear Recent History -> Everything

from the command line in Windows 7?

I'm writing test automation and this would come in handy when running my tests

Is there a way to simulate clearing all history Tools -> Clear Recent History -> Everything from the command line in Windows 7? I'm writing test automation and this would come in handy when running my tests

All Replies (3)

more options

not an answer to your question, but please update to Firefox 20.0.1 before continuing to use the internet. Update Firefox to the latest release

more options

The following article documents the available command line switches: https://developer.mozilla.org/docs/Mozilla/Command_Line_Options

I don't see that option in there, but what do you think about starting Firefox in private browsing mode for your test?

more options

Hello

"C:\Program Files\Mozilla Firefox\firefox.exe" -chrome "chrome://browser/content/preferences/sanitize.xul"


UPDATE : the next is the correct :

"C:\Program Files\Mozilla Firefox\firefox.exe" -chrome "chrome://browser/content/sanitize.xul"

forget the first

thank you

Modified by ideato