Use have_selector instead of have_content