I want to do the following to the edge browser.
HashMap preferences = new HashMap();
preferences.put("download.default_directory", location);
EdgeOptions options = new EdgeOptions();
options.setExperimentalOption("plugins.always_open_pdf_externally", True);
options.setExperimentalOption("download.default_directory", location);
options.setExperimentalOption("download.extensions_to_open", applications/pdf);
options.setExperimentalOption("download.directory_upgrade", True);
options.setExperimentalOption("download.prompt_for_download", False);
options.setExperimentalOption("prefs", preferences);
WebDriver driver = new EdgeDriver(options);
How the above can be achieved in QAF ?