Sha256: 8b0f14c24603f0cc011d20631c332e012dcf20fa9d284e79ead43467670f8b0a

Contents?: true

Size: 442 Bytes

Versions: 4

Compression:

Stored size: 442 Bytes

Contents

module PageObject
  module Platforms
    module WatirWebDriver
      
      def self.create_page_object(browser)
        require 'page-object/platforms/watir_webdriver/page_object'
        return WatirWebDriver::PageObject.new(browser)
      end

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

PageObject::Platforms.register(:watir_webdriver, PageObject::Platforms::WatirWebDriver)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
page-object-0.4.0 lib/page-object/platforms/watir_webdriver.rb
page-object-0.3.2 lib/page-object/platforms/watir_webdriver.rb
page-object-0.3.1 lib/page-object/platforms/watir_webdriver.rb
page-object-0.3.0 lib/page-object/platforms/watir_webdriver.rb