In my project I have a test that requires Chrome for Testing to click a link to download a certificate (.cer) file. Chrome for Testing prevents this download (see image). The browser displays a message which claims that I need to have an elevated security setting level to download the file, but when I launch Chrome for Testing manually (with the .exe file) and set security to No Protection, the file still downloads fine… so the security level does not seem to be the real reason it is prevented from being downloaded.
The only time Chrome for Testing prevents the .cer file from being downloaded is when Katalon launches it. Anyone have ideas on how to get Chrome for Testing, launched by Katalon, to download this file type?
These two methods work quite differently. You should make it clear to us.
As far as I know, KatalonStudio launches “Chrome” by WebUI.openBrowser() keyword as default; it does not lauch “Chrome for Test” unless you customly configured your project.
How did you configured your katalon project? Please show your code.
Are these things that I should add to the desired capabilities for chrome? Or is this code I should add to my browser launcher script? Sorry, I’m just not sure how to use that. Thank you! I am just launching chrome for testing with this:
There seems to be an ‘r’ in the line specifying the default directory in your code, should that be there? I removed that character from your code when adding it to my script. When I added your snippet to my script file the font colors changed of commands so it makes me think maybe something isn’t right?