fix: Improve compatibility with capybara/rspec