1. Close all the Firefox browsers 2. Run => firefox.exe -p 3. Click 'Create Profile and Set a name for the profile 4. Double click the created profile (Firefox will be opened through the newly created profile) 5. Tools => Options 6. Make firefox light weight 7. Type "about:config" in address bar and hit Enter key 8. Right click on list and Create the following settings extensions.update.notifyUser (type = boolean; value=false) extensions.newAddons (type = boolean; value=false) 9. Close browser and set the default profile back ProfilesIni profile = new ProfilesIni(); FirefoxProfile ffprofile = profile.getProfile("SeleniumTest"); WebDriver driver = new FirefoxDriver(ffprofile);