title: How to use wildcards in CssSelector when finding an element through Selenium?
body: <p>I have an issue where the CssSelector I am using has a GUID in it that changes every time and therefore the tests will only ever pass once. Is there a wildcard I can use in the CssSelector that will help me get round this? Consider the following code...</p>
  
  <pre><code>IWebElement PersonalPhone = Driver.driver.FindElement(By.CssSelector("# Grid365e0689-dccb-695f-97af-dc29187d4e1d-id-cell-0-7 &gt; a"));
  PersonalPhone.Click();
  </code></pre>
  
  <p>I would like the above code to locate the element via the CssSelector using a wildcard so that I can remove the GUID part of the selector and only find the element based on the last part 'id-cell-0-7' and then click on the element. </p>
  
  <p>I am using Selenium WebDriver(Chrome) written in C#</p>
  
  <p>Any ideas?</p>