I go to project >> settings >> execution >> default >> WebUI >>firefox to add properties to the desired capabilities.
Firefox has a property called firefox_binary that is supposed to be able to set the path to find the browser executable to a custom location. https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities#webdriver.
but setting firefox_binary doesn’t seem to work. I still get “Cannot find firefox binary in path” error. Is there a trick to getting this to work?
On windows, trying the following
firefox_binary “C:\Users\QA\browsers\Firefox\firefox.exe”
WebDriver.firefox_binary “C:\Users\QA\browsers\Firefox\firefox.exe”