Controlling a Firefox Extension via Javascript

Yes it possible to interact with other add-ons, given the right circumstances. My test case here will be com.googlecode.sqlitemanager.openInOwnWindow(), which is part of the SqliteManager addon. In newer builds (I’m using Nightly), there is the Browser Toolbox. With it is is as simple as opening a toolbox and executing com.googlecode.sqlitemanager.openInOwnWindow() in the Console. You may … Read more

Disable chrome download multiple files confirmation

I’m using Chrome 49 and none of the other solutions worked for me. After some research I found a working solution: ChromeDriver createChromeDriverWithDownloadFolder(String folder) { Map<String, Object> chromePrefs = new HashMap<String, Object>(); chromePrefs.put(“profile.default_content_settings.popups”, 0); chromePrefs.put(“download.default_directory”, folder); chromePrefs.put(“profile.content_settings.exceptions.automatic_downloads.*.setting”, 1 ); chromePrefs.put(“download.prompt_for_download”, false); ChromeOptions options = new ChromeOptions(); options.setExperimentalOption(“prefs”, chromePrefs); DesiredCapabilities cap = DesiredCapabilities.chrome(); cap.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true); cap.setCapability(ChromeOptions.CAPABILITY, … Read more