module PageObject::Platforms::WatirWebDriver
Watir implementation of the common functionality found across all elements
Public Class Methods
create_page_object(browser)
click to toggle source
# File lib/page-object/platforms/watir_webdriver.rb, line 5 def self.create_page_object(browser) return WatirWebDriver::PageObject.new(browser) end
is_for?(browser)
click to toggle source
# File lib/page-object/platforms/watir_webdriver.rb, line 9 def self.is_for?(browser) require 'watir-webdriver' browser.is_a?(::Watir::Browser) end