I have a Selenium test in which I need to click the "cliclient: //" link, and this link should open the application. Now I need to create a new profile for each test, and I donβt know how to bypass the Run Application dialog box that appears when I click on the link:

Here is a snippet of the test I created:
profile = Selenium::WebDriver::Firefox::Profile.new profile.secure_ssl = false profile.assume_untrusted_certificate_issuer=true profile["plugin.default.state"] = 2 profile["plugin.state.java"] = 2 profile["browser.download.folderList"] = 2 profile["browser.download.manager.alertOnEXEOpen"] = false profile["browser.download.manager.closeWhenDone"] = true profile["browser.download.manager.focusWhenStarting"] = false profile["browser.download.manager.showWhenStarting"] = false profile["browser.helperApps.alwaysAsk.force"] = false profile["browser.helperApps.neverAsk.saveToDisk"] = 'application/x-msdownload,application/octet-stream, application/x-msdownload, application/exe, application/x-exe, application/dos-exe, vms/exe, application/x-winexe, application/msdos-windows, application/x-msdos-program' profile["gfx.direct2d.disabled"] = true profile["layers.acceleration.disabled"] = true
What is it in the profile that I need to install, bypass the dialog box or somehow click on OK when this dialog box appears?
source share