If I\'ve got some HTML like:
description... I\'ve seen that I
I\'ve seen that I
If you are looking for an HTML element with a given value for a given attribute, you could do:
expect(page).to have_css('a[href="www"]')