title: How do I change the default version of Firefox using Selenium webdriver with Ruby?
body: <p>I was able to use the following code to change the Firefox version I am using to 33.1 successfully. But how can I make the current version the default without having to add this additional code to each script? </p>
  
  <pre><code>path='C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
  Selenium::WebDriver::Firefox.path = path
  driver = Selenium::WebDriver.for :firefox
  </code></pre>
  
  <p>I have converted Selenium IDE scripts to WebDriver using Ruby and it always defaults to Firefox 11. My computer's default version of Firefox is 33.1 and my current WebDriver version for  Ruby is 2.44.</p>