Sha256: 58e80c03ffd7ebc144745455d11c6c12ddc52302e7b157ccad4102353e7cb0d1
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 Bytes
Contents
module PageObject module Platforms module SeleniumWebDriver class NullSeleniumElement def exists? false end def visible? false end def nil? true end def displayed? false end def method_missing(meth, *args) $stderr.puts "You are calling #{meth} on an element that does not yet exist." raise Selenium::WebDriver::Error::NoSuchElementError end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
page-object-0.6.5 | lib/page-object/platforms/selenium_webdriver/null_selenium_element.rb |