Sha256: 7ea138401209b215d9b872828900fbace42703c15be526c8a9670373c461c1b5

Contents?: true

Size: 486 Bytes

Versions: 54

Compression:

Stored size: 486 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)
        require 'selenium-webdriver'
        browser.is_a? ::Selenium::WebDriver::Driver
      end
    end
  end
end

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

Version data entries

54 entries across 54 versions & 2 rubygems

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