invalid selector exception

For the below xpath i am getting “invalid selector exception”

“//ol[@class=’locations-list’]/li[3]/a[@id=’bET’]/span[2]”

But in Firepath & Xpath checker tells this is correct xpath.

Please tell me how to identify the element.

Thanks in advance,
Revathi

Add Comment
  • 1 Answer(s)

    Hi Reveathi

    Please share your Web URL so that we can verify the XPATH.

    Train Answered on May 17, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.