Sha256: 2346d29c264249d16ca142612a9d4f612ed9cfc085bf1a9f5c7d7536ebb63799

Contents?: true

Size: 1.9 KB

Versions: 4

Compression:

Stored size: 1.9 KB

Contents

$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

raise "Celerity only works on JRuby at the moment." unless RUBY_PLATFORM =~ /java/

require 'java'
require "logger"
require "uri"
require "pp"
require "timeout"
require "time"
require 'drb'
require "fileutils"
require "thread"

module Celerity
  Log = Logger.new($DEBUG ? $stderr : nil)
  Log.level = Logger::DEBUG

  INDEX_OFFSET = 1
  DIR = File.expand_path(File.dirname(__FILE__) + "/celerity")
end

require "celerity/htmlunit"
require "celerity/version"
require "celerity/exception"
require "celerity/clickable_element"
require "celerity/disabled_element"
require "celerity/element_collections"
require "celerity/collections"
require "celerity/element_locator"
require "celerity/identifier"
require "celerity/container"
require "celerity/element"
require "celerity/input_element"
require "celerity/elements/non_control_elements"
require "celerity/elements/button.rb"
require "celerity/elements/file_field.rb"
require "celerity/elements/form.rb"
require "celerity/elements/frame.rb"
require "celerity/elements/image.rb"
require "celerity/elements/label.rb"
require "celerity/elements/link.rb"
require "celerity/elements/meta.rb"
require "celerity/elements/option.rb"
require "celerity/elements/radio_check.rb"
require "celerity/elements/select_list.rb"
require "celerity/elements/table.rb"
require "celerity/elements/table_elements.rb"
require "celerity/elements/table_cell.rb"
require "celerity/elements/table_row.rb"
require "celerity/elements/text_field.rb"
require "celerity/util"
require "celerity/default_viewer"
require "celerity/listener"
require "celerity/browser"
require "celerity/watir_compatibility"

# undefine deprecated methods to use them for Element attributes
Object.send :undef_method, :id   if Object.method_defined? "id"
Object.send :undef_method, :type if Object.method_defined? "type"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jarib-celerity-0.0.5.1 lib/celerity.rb
jarib-celerity-0.0.5.2 lib/celerity.rb
jarib-celerity-0.0.5.4 lib/celerity.rb
jarib-celerity-0.0.5.5 lib/celerity.rb