1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/lib/webcat.rb
2009-11-05 23:15:00 +01:00

24 lines
No EOL
567 B
Ruby

module Webcat
VERSION = '0.1'
class WebcatError < StandardError; end
class DriverNotFoundError < WebcatError; end
class << self
attr_accessor :debug
def log(message)
puts message if debug
end
end
autoload :Server, 'webcat/server'
autoload :Session, 'webcat/session'
module Driver
autoload :RackTest, 'webcat/driver/rack_test_driver'
autoload :Culerity, 'webcat/driver/culerity_driver'
autoload :SafariWatir, 'webcat/driver/safariwatir_driver'
autoload :FireWatir, 'webcat/driver/firewatir_driver'
end
end