Module: Webrat::Locators
- Defined in:
- lib/cucumber/webrat/element_locator.rb
Defined Under Namespace
Classes: ElementLocator
Instance Method Summary collapse
-
#element_at(css_selector) ⇒ Object
(also: #table_at)
Returns a Webrat DOM element located by
css_selector
.
Instance Method Details
#element_at(css_selector) ⇒ Object Also known as: table_at
Returns a Webrat DOM element located by css_selector
.
73 74 75 |
# File 'lib/cucumber/webrat/element_locator.rb', line 73 def element_at(css_selector) ElementLocator.new(@session, dom, css_selector).locate! end |