title: Changing browser for IPython Notebook from system default
body: <p>I would like to keep firefox as my system default browser on my Mac, but launch IPython Notebook in Chrome<sup>[1]</sup>.</p>
  
  <p><a href="https://stackoverflow.com/a/15748692/1730674">This answer</a> led me to my <code>ipython_notebook_config.py</code> file but I can't get an instance of Chrome running.  After <code>c = get_config()</code> and <code>import webbrowser</code>, I've tried:</p>
  
  <ol>
  <li><p><code>webbrowser.register(u'chrome', None, webbrowser.Chrome())</code></p></li>
  <li><p><code>webbrowser.register(u'chrome', webbrowser.Chrome)</code></p></li>
  <li><p><code>webbrowser.register(u'chrome', None, webbrowser.GenericBrowser('/Applications/Browsers/Chrome.app'))</code>  </p></li>
  <li><p><code>webbrowser.register(u'chrome', None, webbrowser.GenericBrowser('/Applications/Browsers/Chrome.app/Contents/MacOS/Google\ Chrome'))</code>  </p></li>
  </ol>
  
  <p>All followed by <code>c.NotebookApp.browser = u'chrome'</code></p>
  
  <p>I've fiddled with <code>webbbrowser</code> in the interpreter, and couldn't figure out how to create an instance of Chrome.</p>
  
  <hr>
  
  <p><sup>[1]: PS Why is IPython Notebook <em>so slow</em> in firefox, especially for pylab with the inline backend?  It's orders of magnitude faster (for rendering, scrolling, etc) in chrome.</sup></p>