Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IWebElement table = driver.FindElement(By.XPath("//*[@id='sandbox-
- container1']/div/input"));
- table.Click();
- IWebElement el = driver.FindElement(By.XPath("/html/body/div[3]/div[1]"));
- List<IWebElement> rowEl = new List<IWebElement>(el.FindElements(By.TagName("tr")));
- List<IWebElement> colEl = new List<IWebElement>(el.FindElements(By.TagName("td")));
- foreach (IWebElement cols in colEl)
- {
- if (cols.Text.Equals("5"))
- cols.Click();}
Add Comment
Please, Sign In to add comment