Given this element :
<div class="block-level-tooltip color_title ellipsis-tooltip" title="RATE">RED Infinity 25 Rate</div>
I'm trying to do a xpath slector that is not case sensitive to title attribute value or text value that contains the word 'rate'
What I've tried, but dosen't seem to find anything:
P.S. Inspired by this post
//*[(contains(lower-case(@title), 'rate')) or (contains(lower-case(text()), 'rate'))]