cobrateam/splinter — pull request #185 by medwards (2012-11-19 15:12:48+00:00)
Title: More remote options

This PR makes remote webdriver calls more flexible while breaking backwards compatibility somewhat:

* Default URL is in an extractable place which will be useful in the tests
* use `location` instead of `host` and `port` because users can put their selenium server behind HTTPAuth, (ie username + password) and on different URLs (ie if their selenium server is behind a fowarding proxy). In general this makes it easier for Saucelabs users who want to just copy & paste their Sauce URLs
* Allow overriding of the default capabilities, so if you want Firefox, but on Mac, or a specific version of IE, etc.