We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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