0

I have a list in which it is having a list of items and I want to click on the specific element having (SOP) as text. I want to check whether the text exists in the list or not and want to click on the specific item if present.

Can anyone please share the code for that? I am a newbie in Selenium.

My HTML code for selecting list of items:

 IList<IWebElement> element = wait.Until(ExpectedConditions.ElementToBeClickable(By.XPath("//div[@ng-click='selectButtonClick(row, $event)']")));
Panagiotis Kanavos
  • 104,344
  • 11
  • 159
  • 196
prasanth
  • 75
  • 10

0 Answers0