Can’t set my Firefox Porrtable edition to work with Katalon. It should be a simple setting option, but I couldn’t manage. I tested both:
editing Preferences->General Start up and Shut Down-> Web Browser
editing Project Settings->Execution->Default->WebUI
No luck. No Admin, so I can’t set the PATH environment variable either. System: Win7 64.
Thanks in advance
Well you need to do the following steps:
1. Open Project Settings → Execution → Default → Firefox and add firefox_binary key which will link to .exe path of your Firefox portable
2. Open your test case and add the following script BEFORE any WebUI steps:
//Replace below path with geckodriver path within Katalon Studio folder
System.setProperty("webdriver.gecko.driver", "C:\\Katalon_Studio_Windows_64-5.2.0.1\\configuration\\resources\\drivers\\firefox_win64\\geckodriver.exe");
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
capabilities.setCapability("marionette", true);
WebDriver driver = new FirefoxDriver(capabilities);
DriverFactory.changeWebDriver(driver)
WebUI.click(findTestObject('Page_CuraHomepage/btn_MakeAppointment'))
I have the same problem, have done your steps and got this error :
[FAILED] - Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.SessionNotCreatedException: Unable to find a matching set of capabilities
Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA
this is the error what i am getting after running above script.