how to locate dynamic element using xpath(ends-with function not working)

Viewed 29015

I have used ends-with function as (By.xpath("//input[ends-with(@id,'_PHONE$']"));

But it didnot work

5 Answers
Related