[Solved] How to locate a webtable cell with specific text in selenium c#


You are going to be able to call the element with xpath:

//Span[contains(text(), 'new')] (assuming Span is with capital letter which is unlikely)

or

//span[contains(text(), 'new')]

If there are multiple span elements with text ‘new’ in it, you can try:

//td[@class="status"]/span[contains(text(), 'new')]

0

solved How to locate a webtable cell with specific text in selenium c#