xpath
xpath copied to clipboard
Ruby library for generating XPath expressions
Results
3
xpath issues
Sort by
recently updated
recently updated
newest added
I'm trying to generate the following xpath string (so that I get the deepest element that contains the text I need) ``` (//*[contains(normalize-space(string(.)), 'Text')]/@id)[position() = last()] ``` but ```ruby XPath.anywhere[XPath.string.n.contains('Text')].attr(:id)[XPath.position.equals(XPath.last)]...