Sha256: 9eb7a0c924cc32f93572cf137051423df830b6a3603b65278b3dc7b551bbef27

Contents?: true

Size: 445 Bytes

Versions: 5

Compression:

Stored size: 445 Bytes

Contents

module PageObject
  module Platforms
    module Selenium

      def self.create_page_object(browser)
        require 'page-object/platforms/selenium/page_object'
        return Object::PageObject::Platforms::Selenium::PageObject.new(browser)
      end

      def self.is_for?(browser)
        browser.is_a? Object::Selenium::WebDriver::Driver
      end
    end
  end
end
PageObject::Platforms.register(:selenium, PageObject::Platforms::Selenium)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page-object-0.2.5 lib/page-object/platforms/selenium.rb
page-object-0.2.4 lib/page-object/platforms/selenium.rb
page-object-0.2.3 lib/page-object/platforms/selenium.rb
page-object-0.2.2 lib/page-object/platforms/selenium.rb
page-object-0.2.1 lib/page-object/platforms/selenium.rb