The Selenium Client Factory library is a plugin for Bamboo and Jenkins that integrates with Sauce OnDemand, allowing users to run tests against either a local browser or Sauce OnDemand without having to modify their test code. The library reads environment variables set by the CI plugin and creates a remote Selenium/WebDriver instance that runs tests against Sauce OnDemand. A Python implementation of the library is also available, which can be used with other languages. The library makes it easy to integrate tests with Sauce OnDemand and continuous integration build tools, allowing users to configure their local tests to run against a local browser or use their CI environment to access Sauce OnDemand, all via properties without changing any code.