title: Using the default firefox profile with selenium webdriver in python
body: <p>I know similar questions have been asked before, but I've tried many times and it still doesn't work for me.</p>
  
  <p>I only have a default profile in firefox (called c1r3g2wi.default) and no other profiles. I want my firefox browser to start with this profile when I launch it using the selenium webdriver. How do I do this in Python?</p>
  
  <p>I did this:</p>
  
  <pre><code>fp = webdriver.FirefoxProfile('C:\Users\admin\AppData\Roaming\Mozilla\Firefox\Profiles\c1r3g2wi.default')
  browser = webdriver.Firefox(fp)
  </code></pre>
  
  <p>But I got an error:</p>
  
  <pre><code>WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: 
  'C:\\Users\x07dmin\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\c1r3g2wi.default/*.*'
  </code></pre>
  
  <p>Help, or pointers in the right direction, would be very much appreciated.</p>