title: Providing path to Firefox/Chrome/IE installation in cygwin
body: <p>I'm trying to launch Firefox remotely on a windows machine from UNIX box using <code>remotewebdriver</code>. </p>
  
  <p>I've tried by adding Firefox in the PATH as below:</p>
  
  <pre><code>$ echo $PATH
  /cygdrive/c/Program Files (x86)/Google/Chrome/Application/:/cygdrive/c/Program Files (x86)/Mozilla Firefox/
  </code></pre>
  
  <p>But still the browser fails to launch as the <code>geckodriver.exe</code> tries to find Firefox in the windows default path. </p>
  
  <p>Here is the log from selenium hub:</p>
  
  <blockquote>
    <p>1486475449767   mozprofile::profile     INFO    Using profile path
    C:\cygwin64\tmp\rus<br>
    t_mozprofile.Rmyr2i85U1HV</p>
    
    <p>1486475449774   geckodriver::marionette INFO    Starting browser 
    C:\Program Files (x86)\Mozilla Firefox\firefox.exe</p>
  </blockquote>
  
  <p>I also tried adding below property while launching selenium node:<br></p>
  
  <blockquote>
    <p>-Dwebdriver.firefox.bin="/cygdrive/c/Program Files (x86)/Mozilla Firefox/"</p>
  </blockquote>
  
  <p>However, the exception was thrown:<br></p>
  
  <blockquote>
    <p>Caused by: org.openqa.selenium.WebDriverException: 'webdriver.firefox.bin' property set, but unable to locate the requested binary: /cygdrive/c/Program Files (x86)/Mozilla Firefox/.exe
    <br>.....<br>.....<br>
    Exception: Could not initialize class org.openqa.selenium.firefox.internal.Executable</p>
  </blockquote>
  
  <p>Is there a way to provide the path to the firefox installation folder?
  <hr>
  EDIT:</p>
  
  <p>After providing parameters:<br></p>
  
  <blockquote>
    <p>-Dwebdriver.gecko.driver=geckodriver.exe -Dwebdriver.firefox.bin="firefox/firefox.exe"</p>
  </blockquote>
  
  <p>The execution gets stuck at:<br></p>
  
  <blockquote>
    <p>1486534065121   mozprofile::profile     INFO    Using profile path C:\cygwin64\tmp\rust_mozprofile.eqdfIaNAGjDu
    1486534065135   geckodriver::marionette INFO    Starting browser >C:\cygwin64\home\Administrator\firefox\firefox.exe</p>
    
    <p>1486534065198   geckodriver::marionette INFO    Connecting to Marionette on localhost:56702</p>
    
    <p>1486534068740   Marionette      INFO    Listening on port 56702</p>
  </blockquote>