Can we change browser preferences in runtime?
Is there any possibility to changes the browser preferences set before launching the browser during execution programmatically?
Example:
I have set the following preferences before launching the driver
firefoxProfile.setPreference("pdfjs.disabled", true);
firefoxProfile.setPreference("plugin.scan.plid.all", false);
firefoxProfile.setPreference("plugin.scan.Acrobat", "99.0");
I want to change the preference to :
firefoxProfile.setPreference("pdfjs.disabled", **false**);
firefoxProfile.setPreference("plugin.scan.plid.all", **true**);
firefoxProfile.setPreference("plugin.scan.Acrobat", "99.0");
Please help!!
Thanks
It possible to change the settings at run-time using
about:config
UI. Below code demonstrates how to do the same