Added snippets for capybara