I’ve only just begun to play with this new setup but it looks promising. I’ve forked Tim’s original demo app and updated it to use capybara-envjs. To get it working, I added the following to cucumber’s env.rb file (in features/support):
And then I replaced the capybara gem in the Gemfile with:
gem 'capybara-envjs', :require => 'capybara/envjs'