Class: Test::Unit::Capybara::ElementNotFound

Inherits:
Capybara::ElementNotFound
  • Object
show all
Defined in:
lib/test/unit/capybara.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(node, kind, locator, message) ⇒ ElementNotFound

Returns a new instance of ElementNotFound.



58
59
60
61
62
63
# File 'lib/test/unit/capybara.rb', line 58

def initialize(node, kind, locator, message)
  @node = node
  @kind = kind
  @locator = locator
  super(message)
end

Instance Attribute Details

#kindObject (readonly)

Returns the value of attribute kind.



57
58
59
# File 'lib/test/unit/capybara.rb', line 57

def kind
  @kind
end

#locatorObject (readonly)

Returns the value of attribute locator.



57
58
59
# File 'lib/test/unit/capybara.rb', line 57

def locator
  @locator
end

#nodeObject

Returns the value of attribute node.



56
57
58
# File 'lib/test/unit/capybara.rb', line 56

def node
  @node
end