Thank you for taking a look. I've been able to work out with starts-with
for below source code but for some reason, the ends-with
doesn't work
<input type="text" value="" name="email" style="background-color: rgb(248, 248, 248);"/>
//input[starts-with(@name,'ema')]
- Works absoultelty fine
css=input[name*='ema']
- Works fine
css=input[name$='ail']
- Works fine
//input[ends-with(@name,'ail')]
- doesn't work
//input[ends-with(@.,'ail')]
- doesn't work
I am using firepath 0.9.7.1.1 & also tried in version 1.0- no luck. Thanks in advance I've already tried Xpath "ends-with" does not work & it didn't help.