title: How to find element using two link texts that are separated (using Selenium's find element by link text function)
body: <p>I want to find elements using two partial link texts. I want to do this to separate instances where the first link text is the the same as another one.</p>
  <p>For example if link text 1 for an element is &quot;Publix Eggs, Large&quot; and link text 2 is &quot;12 ct&quot;, and link text 1 for another item is also &quot;Publix Eggs, Large&quot; but its link text 2 is &quot;18ct&quot; I want to be able to find only the first items element if I were to write something like below:</p>
  <p><a href="https://i.stack.imgur.com/YH3W1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YH3W1.png" alt="enter image description here" /></a></p>
  <p><strong>EXAMPLE HTML</strong></p>
  <p><a href="https://i.stack.imgur.com/k5Jlc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k5Jlc.png" alt="link and separated link texts" /></a></p>
  <p><a href="https://i.stack.imgur.com/QCExd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QCExd.png" alt="what i'm trying to avoid grabbing" /></a></p>