Adding capybara find call before testing for dom content. p267