Change browser preferences in runtime?
问题 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