Sha256: 481f53738f7df4d669f3ce8930caa681ac0eba97a5b59abe502fc9cc36a90918

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 Bytes

Contents

require "selenium/webdriver"
require "capybara"
require "capybara/dsl"

require "superbot/selenium/webdriver"
require "cjsonci"
require_relative "capybara/version"

module Capybara
  module DSL
    def self.included(base)
      #warn "including Capybara::DSL in the global scope is not recommended!" if base == Object
      #super
    end
    def self.extended(base)
      #warn "extending the main object with Capybara::DSL is not recommended!" if base == Object
      #super
    end
  end
end

Capybara.current_driver = :selenium_chrome

TOPLEVEL_BINDING.eval "include Capybara::DSL"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
superbot-capybara-1.0.2 lib/superbot/capybara.rb
superbot-capybara-1.0.1 lib/superbot/capybara.rb
superbot-capybara-1.0.0 lib/superbot/capybara.rb