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.



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

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.



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

def kind
  @kind
end

#locatorObject (readonly)

Returns the value of attribute locator.



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

def locator
  @locator
end

#nodeObject

Returns the value of attribute node.



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

def node
  @node
end