Unable to open Firefox Portable - no Admin

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:

  1. editing Preferences->General Start up and Shut Down-> Web Browser
  2. 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'))

Screen Shot 2018-01-22 at 11.39.59.png

Hi @Vinh Nguyen

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

System info: host: ‘XXXX’, ip: ‘XXXX’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’

Driver info: driver.version: CFirefoxDriver

Can you help ?
Thanks in advance :slight_smile:

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.