ends-with is not working

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ends-with is not working

mohitnmh
I am new to selenium and trying to learn it.I was able to use starts-with  function in xpath but with ends-with I am getting error -
'SyntaxError: Failed to execute 'evaluate' on 'Document': The string '//input[end-with(.,'gb')]' is not a valid XPath expression.'

Any thoughts?
Reply | Threaded
Open this post in threaded view
|

Re: ends-with is not working

softwaretestingforum
Administrator