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
  • 120,703
  • 13
  • 188
  • 236
prasanth
  • 75
  • 1
  • 11

0 Answers0