Hello,
I try do select an element via xpath but do not find the solution.
//table[@id='tblCoverageGroupsForPlan']/tbody/tr/td[contains(.,'Ambulatory')]
My XPATH returns 2 element because there is a TD which contains "Ambulatory" and another one contains "Ambulatory Transport"
How can I select only the first one?
I also tried //table[@id='tblCoverageGroupsForPlan']/tbody/tr[1]/td[normalize-space(text())='Ambulatory'] but this does not give me a result. I think the reason is that the text contains a second text the one between the span tags: "0/11" but I am not sure.
This also return nothing?
//table[@id='tblCoverageGroupsForPlan']/tbody/tr[1]/td[normalize-space(text())='Ambulatory 0/11']
All suggestions are welcome.
Thanks.