I am trying to grab one or more table cells that contain a particular string. I am not able to accomplish this with
var tableCells = table.FindElements(By.CssSelector("td:contains('my partial text')"));
What is the correct css selector text to use here?
I've also tried the following:
var tableCells = table.FindElements(By.TagName("td")).Where(tableCell => tableCell.Contains("my partial text"));
but it is extremely slow.