FirefoxProfile Clean Method WebDriver
Cleans this Firefox profile.

Namespace: OpenQA.Selenium.Firefox
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public void Clean()
Remarks

If this profile is a named profile that existed prior to launching Firefox, the Clean  method removes the WebDriver Firefox extension. If the profile is an anonymous profile, the profile is deleted.
See Also