Method: Capybara::Session#within_table

Defined in:
lib/capybara/session.rb

#within_table(locator, &block) ⇒ Object

Execute the given block within the a specific table given the id or caption of that table.

Parameters:

  • locator (String)

    Id or caption of the table



389
390
391
# File 'lib/capybara/session.rb', line 389

def within_table(locator, &block)
  within(:table, locator, &block)
end