Sha256: 9ab1611d54e8a893e781a3c21a6b094ec7f8f28b050999b51ecfa1c8b475dde0

Contents?: true

Size: 391 Bytes

Versions: 5

Compression:

Stored size: 391 Bytes

Contents

module PageObject
  module Platforms
    module Watir
      def self.create_page_object(browser)
        require 'page-object/platforms/watir/page_object'
        PageObject::WatirPageObject.new(browser)
      end

      def self.is_for?(browser)
        browser.is_a?(Object::Watir::Browser)
      end
    end
  end
end

PageObject::Platforms.register(:watir, PageObject::Platforms::Watir)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page-object-0.2.5 lib/page-object/platforms/watir.rb
page-object-0.2.4 lib/page-object/platforms/watir.rb
page-object-0.2.3 lib/page-object/platforms/watir.rb
page-object-0.2.2 lib/page-object/platforms/watir.rb
page-object-0.2.1 lib/page-object/platforms/watir.rb