Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni
Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.
Archiviato

Can I Clear all history from command line?

godzillajoe

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

Tutte le risposte (3)

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

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?

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

Modificato da ideato il