title: How to write XPath based on elements in Chrome Dev Tools?
body: <p>I am trying to get XPaths for underlined values in the image below. I have a list of cards which is always different, and I need to grab values from the inside of the highlighted card which has 'highlight' in its class.</p>
  
  <p>When I grab the XPath through inspecting an element in Chrome, I get something like this <code>//*[@id="rental-asset"]/div/div[1]/div/rdo-nav-card-asset[11]/div/div[1]/div/i</code> which doesn't work for me since that 11 in brackets is always going to be a different value. How can I create an XPath for these elements based on their unique class?</p>
  
  <p><a href="https://i.stack.imgur.com/etCWW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/etCWW.png" alt="Chrome Dev Tools"></a></p>