Sha256: 09264cca0e8726fc7b3ab4f9e81bae698a36f5676643796e6b9b733f3ee27f13

Contents?: true

Size: 470 Bytes

Versions: 54

Compression:

Stored size: 470 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)
        require 'watir-webdriver'
        browser.is_a?(::Watir::Browser)
      end
    end
  end
end

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

Version data entries

54 entries across 54 versions & 2 rubygems

Version Path
page-object-0.6.3 lib/page-object/platforms/watir_webdriver.rb
page-object-0.6.2 lib/page-object/platforms/watir_webdriver.rb
page-object-0.6.1 lib/page-object/platforms/watir_webdriver.rb
page-object-0.6 lib/page-object/platforms/watir_webdriver.rb
page-object-0.5.5 lib/page-object/platforms/watir_webdriver.rb
page-object-0.5.4 lib/page-object/platforms/watir_webdriver.rb
page-object-0.5.3 lib/page-object/platforms/watir_webdriver.rb
page-object-0.5.2 lib/page-object/platforms/watir_webdriver.rb
page-object-0.5.1 lib/page-object/platforms/watir_webdriver.rb
page-object-0.5.0 lib/page-object/platforms/watir_webdriver.rb
page-object-0.4.4 lib/page-object/platforms/watir_webdriver.rb
page-object-0.4.3 lib/page-object/platforms/watir_webdriver.rb
page-object-0.4.2 lib/page-object/platforms/watir_webdriver.rb
page-object-0.4.1 lib/page-object/platforms/watir_webdriver.rb