title: Start Selenium Server with Firefox Portable
body: <p>I want to use Selenium Server on Windows 7 with a FirefoxPortable as browser, starting the <code>selenium-server-standalon</code> JAR file. My first attempt was without a profile, just like this:</p>
  
  <pre><code>java -jar selenium-server-standalone-2.33.0.jar 
       -htmlSuite "*firefox C:\Users\rplantik\Portables\selenium\FirefoxPortable\FirefoxPortable.exe" 
        "http://127.0.0.1"    
        "C:\Users\rplantik\Portables\selenium\rest\testsuite.html" 
        "testresults.html"
  </code></pre>
  
  <p>The Jetty server was started, but it crushed after having issued the info message <code>Preparing Firefox profile...</code></p>
  
  <p>I found out that there is another portable app, called FirefoxPortable2ndProfile, which allows you to start FirefoxPortable with another than the built-in profile. I therefore downloaded that application, too, and modified the command as follows, to include the path to the different profile: </p>
  
  <pre><code>java -jar selenium-server-standalone-2.33.0.jar 
       -firefoxProfileTemplate C:\Users\rplantik\Portables\selenium\FirefoxPortable2ndProfile\Data\profile 
       -htmlSuite "*firefox C:\Users\rplantik\Portables\selenium\FirefoxPortable\FirefoxPortable.exe" 
        "http://127.0.0.1"    
        "C:\Users\rplantik\Portables\selenium\rest\testsuite.html" 
        "testresults.html"
  </code></pre>
  
  <p>Now it seems that the profile was created successfully (<code>Preparing Firefox profile...</code> seems to be executed as intended - for a short moment, the "Firefox" logo pops up), then the message <code>Launching Firefox...</code> appears, and indeed a firefox application is started. </p>
  
  <p>But after that, the test suite is not executed. Instead, the browser stays on the default site, and there is no further action until I stop the process in the console.</p>
  
  <p>How to use Selenium with Firefox Portable? </p>