Sha256: b6e87a4226db9036c7e501a4879e11f0dc114faddbb205f8dab742eb1fb5c839

Contents?: true

Size: 372 Bytes

Versions: 31

Compression:

Stored size: 372 Bytes

Contents

require 'net/http'

require 'selenium/webdriver/phantomjs/service'
require 'selenium/webdriver/phantomjs/bridge'

module Selenium
  module WebDriver

    module PhantomJS

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

      def self.path
        @path ||= Platform.find_binary("phantomjs")
      end

    end
  end
end

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
selenium-webdriver-2.45.0 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.45.0.dev3 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.45.0.dev2 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.45.0.dev lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.44.0 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.44.0.dev lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.43.0 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.42.0 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.41.0 lib/selenium/webdriver/phantomjs.rb
browserstack-webdriver-2.40.1 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.40.0 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.40.0.rc2 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.40.0.rc1 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.39.0 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.38.0 lib/selenium/webdriver/phantomjs.rb
browserstack-webdriver-0.0.22 lib/selenium/webdriver/phantomjs.rb
browserstack-webdriver-0.0.1 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.37.0 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.35.1 lib/selenium/webdriver/phantomjs.rb
selenium-webdriver-2.35.0 lib/selenium/webdriver/phantomjs.rb