I am attempting to locate a specific element within a table in my project. Here is what it looks like:
The CSS Path for this element is as follows:
#gridForm > div > div:nth-child(2) > div > div > div.divtablerow > div > div.span11.leftAlign
This is the code I am using:
WebBrowser.Current.FindElement(By.CssSelector("#gridForm > div > div:nth-child(2) > div > div > div.divtablerow > div > div.span11.leftAlign")
However, it seems that the element cannot be located. I have also tried using XPath without success.