Update capybara has_text? method