lib/saucelabs/sauce_browser_factory.rb
def selenium_driver(browser,browser_options)
      target,options = browser_caps(browser,browser_options)
      create_selenium_driver(target,options)
    end
def selenium_driver(browser,browser_options)
      target,options = browser_caps(browser,browser_options)
      create_selenium_driver(target,options)
    end
Creates a Selenium driver session and returns the driver object

 @example
 SauceLabs.selenium_driver(browser = :chrome, browser_options = {})
 @param  [String] the browser string passed into the method
 @param [Hash] the optional hash to specify browser options
 @return [Object] browser session