Sha256: e7fda39ac4a697fa022f3ba08d31054b05bb32a0b2f30906eb21682335f508b2

Contents?: true

Size: 426 Bytes

Versions: 5

Compression:

Stored size: 426 Bytes

Contents

module PageObject
  module Platforms
    module LdsWatirWebDriver

      def self.create_page_object(browser)
        return LdsWatirWebDriver::PageObject.new(browser)
      end

      def self.is_for?(browser)
        require 'watir-webdriver'
        browser.is_a?(::Watir::Browser)
      end
    end
  end
end

PageObject::Platforms.register(:lds_watir_webdriver, PageObject::Platforms::LdsWatirWebDriver)

Version data entries

5 entries across 5 versions & 1 rubygems

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