Using `have_selector` Capybara might detect `<a>` tags which are not links because they don't have an `href` attribute. Besides, with `have_selector` Capybara only detects visible text, which means it won't detect links which are icons with tooltips.