class Selenium::WebDriver::DriverFinder
def to_args
def to_args args = ['--browser', @options.browser_name] if @options.browser_version args << '--browser-version' args << @options.browser_version end if @options.respond_to?(:binary) && !@options.binary.nil? args << '--browser-path' args << @options.binary.gsub('\\', '\\\\\\') end if @options.proxy args << '--proxy' args << (@options.proxy.ssl || @options.proxy.http) end args end