title: Getting Selenium to work with any browser?
body: <p>I'm trying to compile some code I wrote using Python and the library Selenium. However Selenium makes you specify which browser to use</p>
  
  <p>e.g.</p>
  
  <pre><code>driver = webdriver.Firefox()
  </code></pre>
  
  <p>So if I compile the program into an .exe or other form executable, and then run it into a computer without Firefox, it won't work. So is there a way for me to tell Selenium to just use the default browser? Or is there a way for me to have a portable version of Firefox on the same program folder (kind of like the Tor Bundle does it) so it works?</p>
  
  <p>I thought of the solution of creating a bunch of nested try/excepts and try every possible browser this way, but I thought that there might be a better way.</p>
  
  <p>EDIT:
  I would also appreciate if someone pointed me in the general direction of having selenium displayed in a wxPython window.</p>