Sha256: 9a091051fc6ef6b3a1fb02b81bdf061e6dacc1970d3550f60a2ec26a6e731a48

Contents?: true

Size: 476 Bytes

Versions: 18

Compression:

Stored size: 476 Bytes

Contents

module PageObject
  module Platforms
    module SeleniumWebDriver
      module Link
        #
        # Override PageObject::PLatforms::SeleniumElement#value because
        # #value is not available on links in Selenium.
        #
        def value
          raise "value not available on link element with Selenium"
        end

        #
        # return the href for the link
        #
        def href
          attribute('href')
        end
      end
    end
  end

end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
page-object-2.0.0 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-1.2.2 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-1.2.1 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-1.2.0 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-1.1.1 lib/page-object/platforms/selenium_webdriver/link.rb
page_object-1.1.3 lib/page-object/platforms/selenium_webdriver/link.rb
page_object-1.1.2 lib/page-object/platforms/selenium_webdriver/link.rb
page_object-1.1.1 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-1.1.0 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-1.0.3 lib/page-object/platforms/selenium_webdriver/link.rb
meeane-page-object-0.1.11 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-1.0.2 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-1.0.1 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-1.0 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-0.9.8 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-0.9.7 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-0.9.6 lib/page-object/platforms/selenium_webdriver/link.rb
page-object-0.9.5 lib/page-object/platforms/selenium_webdriver/link.rb