# Unable to open Firefox Portable - no Admin

**URL:** <https://forum.katalon.com/t/unable-to-open-firefox-portable-no-admin/8883>\
**Category:** Web Testing\
**Tags:** web-testing, katalon-studio\
**Created:** [January 16, 2018, 3:58pm UTC](https://forum.katalon.com/t/unable-to-open-firefox-portable-no-admin/8883 "2018-01-16T15:58:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nacho](https://avatars.discourse-cdn.com/v4/letter/n/7bcc69/32.png) [@Nacho](https://forum.katalon.com/u/Nacho)\
**Post date:** [January 16, 2018, 3:58pm UTC](https://forum.katalon.com/t/unable-to-open-firefox-portable-no-admin/8883/1 "2018-01-16T15:58:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [January 22, 2018, 4:47am UTC](https://forum.katalon.com/t/unable-to-open-firefox-portable-no-admin/8883/2 "2018-01-22T04:47:04Z")

</div>

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  
 ![](https://s3.amazonaws.com/katalon-forum/editor/2x/9t3dtz3way81.png "Image: https://s3.amazonaws.com/katalon-forum/editor/2x/9t3dtz3way81.png")

2. Open your test case and add the following script BEFORE any WebUI steps:

```auto
//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](https://s3.amazonaws.com/katalon-forum/editor/2x/9t3dtz3way81.png)

---

<div class="post-metadata">

**Author:** ![StereoBroo](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@StereoBroo](https://forum.katalon.com/u/StereoBroo)\
**Post date:** [August 16, 2018, 10:37am UTC](https://forum.katalon.com/t/unable-to-open-firefox-portable-no-admin/8883/3 "2018-08-16T10:37:29Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![vishalk.singh](https://avatars.discourse-cdn.com/v4/letter/v/ad7895/32.png) [@vishalk.singh](https://forum.katalon.com/u/vishalk.singh)\
**Post date:** [July 29, 2019, 10:09am UTC](https://forum.katalon.com/t/unable-to-open-firefox-portable-no-admin/8883/4 "2019-07-29T10:09:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:43am UTC](https://forum.katalon.com/t/unable-to-open-firefox-portable-no-admin/8883/5 "2022-08-08T07:43:09Z")

</div>

Archived on August 8, 2022, 7:43am UTC


