Sha256: 623f16bfea4a71b0a5ebc63980ba557f59869eafde72582c5eca91fe36c182f3

Contents?: true

Size: 431 Bytes

Versions: 5

Compression:

Stored size: 431 Bytes

Contents

module PageObject
  module Platforms
    module SeleniumWebDriver

      def self.create_page_object(browser)
        SeleniumWebDriver::PageObject.new(browser)
      end

      def self.is_for?(browser)
        require 'selenium-webdriver'
        browser.is_a? ::Selenium::WebDriver::Driver
      end
    end
  end
end

PageObject::Platforms.register(:selenium_webdriver, PageObject::Platforms::SeleniumWebDriver)

Version data entries

5 entries across 5 versions & 1 rubygems

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