Switch between different tabs using Capybara