Sha256: 998cfdf823f858c94510c0b43482f30c40a854005a37946679d7a43939831719

Contents?: true

Size: 408 Bytes

Versions: 5

Compression:

Stored size: 408 Bytes

Contents

require 'net/http'

require 'selenium/webdriver/chrome/service'
require 'selenium/webdriver/chrome/bridge'

module Selenium
  module WebDriver

    module Chrome
      def self.driver_path=(path)
        Service.executable_path = path
      end

      def self.path=(path)
        Platform.assert_executable path
        @path = path
      end

      def self.path
        @path
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
selenium-webdriver-2.2.0 lib/selenium/webdriver/chrome.rb
selenium-webdriver-2.1.0 lib/selenium/webdriver/chrome.rb
selenium-webdriver-2.0.1 lib/selenium/webdriver/chrome.rb
selenium-webdriver-2.0.0 lib/selenium/webdriver/chrome.rb
selenium-webdriver-0.2.2 lib/selenium/webdriver/chrome.rb