Sha256: 558e5faf92bdc1bb5a64646a4dfc5c0ef38740f3002f703ed63b61427cad165a

Contents?: true

Size: 455 Bytes

Versions: 4

Compression:

Stored size: 455 Bytes

Contents

module PageObject
  module Platforms
    module SeleniumWebDriver

      def self.create_page_object(browser)
        require 'page-object/platforms/selenium_webdriver/page_object'
        SeleniumWebDriver::PageObject.new(browser)
      end

      def self.is_for?(browser)
        browser.is_a? Object::Selenium::WebDriver::Driver
      end
    end
  end
end

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

Version data entries

4 entries across 4 versions & 1 rubygems

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