Currently, my default katalon browser is Chrome. So whenever I run a script I click the Run button and the script opens the Chrome browser and proceeds to web testing. If I wish to change the browser type I must manually select it in the Run button’s dropdown menu. I can also make custom browser types with profiles. But in both cases I must select them using the button/selection UI.
Is it possible to have katalon studio open different browser types directly through the code in the Script mode? For example, I use WebUI.openBrowser("") to open a browser, which ends up being Chrome which is the default, but can I write some code which tells that command to open in a different browser, like Firefox, and then go back and fourth in the script without ever having to click Run multiple times?
The following post seems to discuss this issue:
However, this referenced page is empty and has no directions. And this referenced page seems to describe a solution, but it is through the console mode, but I don’t use that, I only use script mode and click Run.