How do you select all elements that have "href" attribute that contains "#test" string?
Experience Level: Not defined
Tags: XPath
Answer
Related XPath job interview questions
What does * (asterisk) character mean in XPath expression?
XPath Not definedHow do you select any element using XPath?
XPath Not definedHow do you select all elements that have "href" attribute?
XPath Not definedWhat is position() function good for in XPath? Can you provide an example?
XPath Not definedWhat is last() function good for in XPath? Can you provide an example?
XPath Not defined