This is helpful, all. Thanks especially to @Brandon_Hein.
One question. Which combination of args and prefs turns OFF the “This type of file can harm your computer…” pop up? Would like to just download automatically. Got this to work in Firefox, but it seems Chrome has a different way of handling this. Any help appreciated.
here is what I currently have, but it’s not working:
I’ve got them in a dictionary, but I don’t think I have the right combinations of prefs (or args). Here is what I currently have (and I still get the popup)
Boom, that got it. How counter-intuitive. I assumed we wanted “safe” off in this case. Weird.
I also found I didn’t need most of that other stuff. I thinned it down to the below.
THANK YOU, @Brandon_Hein
Indeed it is. Thanks for reminding me though, I’m going to write a tip right now for how I determine the correct desired capability settings for various things. Stay tuned
The guide I shared is not for a manual setting, it’s used to determine which desired capability to set in katalon to handle the notification permanently.
Following this method, I get the exception org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 79
which I do not run into when using WebUI.openBroswer().
Is there a workaround specific to DriverFactory.changeWebDriver(driver) which allows setting the driver version?