Reputation: 9
I am trying to get the XPath for "workbasket_598F".However when I giving it //div[contains(text(),'Workbasket Name')]//following::tr[1]/td[1]//div/script it's not detecting the text, it's detecting the
Upvotes: 0
Views: 296
Reputation: 3547
You can get that string with //div[@class="oflowDivM "]/text()
, which basically will return the text - located inside <div class="oflowDivM ">
- that is not wrapped in any tags.
Upvotes: 1