module PageObject::Platforms::SeleniumWebDriver::Link

Public Instance Methods

href() click to toggle source

return the href for the link

# File lib/page-object/platforms/selenium_webdriver/link.rb, line 16
def href
  attribute('href')
end
value() click to toggle source

Override PageObject::PLatforms::SeleniumElement#value because value is not available on links in Selenium.

# File lib/page-object/platforms/selenium_webdriver/link.rb, line 9
def value
  raise "value not available on link element with Selenium"
end