module RSpec::Rails::BrowserSimulators

def self.included(mod)

def self.included(mod)
  mod.instance_eval do
    def webrat(&block)
      block.call if defined?(Webrat)
    end
    def capybara(&block)
      block.call if defined?(Capybara)
    end
  end
end

def capybara(&block)

def capybara(&block)
  block.call if defined?(Capybara)
end

def webrat(&block)

def webrat(&block)
  block.call if defined?(Webrat)
end