class TestCentricity::Link

Public Class Methods

new(name, parent, locator, context) click to toggle source
Calls superclass method
# File lib/testcentricity_web/web_elements/link.rb, line 3
def initialize(name, parent, locator, context)
  super
  @type = :link
end

Public Instance Methods

href() click to toggle source

Return link object's href property

@return [String] @example

contact_us_link.href
# File lib/testcentricity_web/web_elements/link.rb, line 14
def href
  get_attribute('href')
end