Sha256: cc6f06b22d36c389faaa6f265378874b0d3f39731bddeb44dfaeb25bb5e753ec

Contents?: true

Size: 1.93 KB

Versions: 6

Compression:

Stored size: 1.93 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_collection"
require "celerity/collections"
require "celerity/element_locator"
require "celerity/identifier"
require "celerity/short_inspect"
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

6 entries across 6 versions & 1 rubygems

Version Path
jarib-celerity-0.0.6.4 lib/celerity.rb
jarib-celerity-0.0.6.5 lib/celerity.rb
jarib-celerity-0.0.6.6 lib/celerity.rb
jarib-celerity-0.0.6.7 lib/celerity.rb
jarib-celerity-0.0.6.8 lib/celerity.rb
jarib-celerity-0.0.6.9 lib/celerity.rb