html - Unable to locate input box with ends-with keyword- Xpath -


thank taking look. i've been able work out starts-with below source code reason, 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 using firepath 0.9.7.1.1 & tried in version 1.0- no luck. in advance i've tried xpath "ends-with" not work & didn't help.

the ends-with() function requires xpath 2.0.


Comments

Popular posts from this blog

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -