Sha256: e8581bace051c42b5545b3a2773a4bb53b73471adcc1234f74afd0727885a835

Contents?: true

Size: 419 Bytes

Versions: 5

Compression:

Stored size: 419 Bytes

Contents

module PageObject
  module Platforms
    module WatirWebDriver
      
      def self.create_page_object(browser)
        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

5 entries across 5 versions & 1 rubygems

Version Path
page-object-lds-0.0.14 lib/page-object/platforms/watir_webdriver.rb
page-object-lds-0.0.13 lib/page-object/platforms/watir_webdriver.rb
page-object-lds-0.0.12 lib/page-object/platforms/watir_webdriver.rb
page-object-lds-0.0.11 lib/page-object/platforms/watir_webdriver.rb
page-object-lds-0.0.1 lib/page-object/platforms/watir_webdriver.rb