mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
24 lines
No EOL
567 B
Ruby
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 |