Method: Splinter::Capybara::Actions#click_link_inside_row

Defined in:
lib/splinter/capybara/actions.rb

Finds a link inside a row and clicks it.

lookup - the link text to look for row_content - the text to use when looking for a row



134
135
136
# File 'lib/splinter/capybara/actions.rb', line 134

def click_link_inside_row(lookup, row_content)
  find(:xpath, "//tr[contains(.,'#{row_content}')]/td/a", :text => lookup).click
end