Skip to content

Instantly share code, notes, and snippets.

@skunkworker
Created July 21, 2017 05:01
Show Gist options
  • Save skunkworker/29d9489d59bb1029b8c32fc5701a052f to your computer and use it in GitHub Desktop.
Save skunkworker/29d9489d59bb1029b8c32fc5701a052f to your computer and use it in GitHub Desktop.
Capybara tricks (bootstrap etc)
# How to click on a bootstrap check_box with capybara.
find(:css, 'label', text: 'Label text here').click
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment