Skip to content
Adam edited this page Jan 21, 2016 · 1 revision

Some lesser known and lesser needed Capybara-UI techniques.

Convert a Capybara node into a Capybara-UI list item.

  node = Capybara.locate(:css, '#name')
  name_item = item_for(node)