Class: Capybara::PomPom::TableFinder

Inherits:
ElementFinder show all
Defined in:
lib/capybara/pompom/table_finder.rb

Overview

Capybara::PomPom::TableFinder

Wraps the Capybara::Node::Element in a Table

Instance Attribute Summary

Attributes inherited from ElementFinder

#locator, #type, #wrapper

Instance Method Summary collapse

Methods inherited from ElementFinder

#initialize

Constructor Details

This class inherits a constructor from Capybara::PomPom::ElementFinder

Instance Method Details

#getObject

Returns the found table with Table



8
9
10
11
# File 'lib/capybara/pompom/table_finder.rb', line 8

def get
  element = send(type, locator)
  Table.new(element, wrapper)
end