I\'m using Rspec and Capybara.
How can I write a step to check a checkbox? I\'ve tried check by value but it can\'t find my checkbox<
you can also use :xpath instead of :css if you have some problems finding it.
find(:xpath , '//*[@id="example"]').set(true)
on Chrome (and surely other browsers), you can "inspect element" and then by right clicking on the element you are interested in, there is 'copy xpath' if you don't know what xpath was, now you do.