Sha256: 2baa1fd204e5c6089238f79d09329e7a90a99d05e7702f3e4f92ba6334c48873

Contents?: true

Size: 1 KB

Versions: 6

Compression:

Stored size: 1 KB

Contents

require 'net/http'
require 'uri'
require 'cgi'
require 'digest/md5'
require 'fileutils'
require 'tmpdir'

require 'selenium/client/errors'
require 'selenium/client/protocol'
require 'selenium/client/legacy_driver'
require 'selenium/client/javascript_expression_builder'
require 'selenium/client/javascript_frameworks/prototype'
require 'selenium/client/javascript_frameworks/jquery'
require 'selenium/client/extensions'
require 'selenium/client/idiomatic'
require 'selenium/client/base'
require 'selenium/client/driver'
require 'selenium/client/selenium_helper'
require 'selenium/server'
require 'selenium/rake/server_task'

module Selenium
  DEPRECATED_CONSTANTS = {
    :SeleniumDriver => Selenium::Client::Driver,
    :CommandError   => Selenium::Client::CommandError
  }

  def self.const_missing(name)
    if replacement = DEPRECATED_CONSTANTS[name.to_sym]
      warn "the Selenium::#{name} constant has been deprecated, please use #{replacement} instead"
      replacement
    else
      super
    end
  end
end # Selenium

Version data entries

6 entries across 6 versions & 1 rubygems

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