Vote count:
0
Im trying to get the element of the table in my project it looks like this:
then the CSS Path is like this:
#gridForm > div > div:nth-child(2) > div > div > div.divtablerow > div > div.span11.leftAlign
My code is like this:
WebBrowser.Current.FindElement(By.CssSelector("#gridForm > div > div:nth-child(2) > div > div > div.divtablerow > div > div.span11.leftAlign")
but it cant seem to locate the element. by the way i tried using XPath still no luck.
asked 2 mins ago
How to use CSS Selector in Selenium Web Driver
Aucun commentaire:
Enregistrer un commentaire