How to solve NoSuchElementException in Selenium Webdriver?

I have used eclipse neon and latest gecko driver only. I have the image of my code. Does anyone help me to solve this?

How to solve NoSuchElementException in Selenium Webdriver?

How to solve NoSuchElementException in Selenium Webdriver?

Add Comment
  • 3 Answer(s)

    Try using id directly..

    driver.findElement(By.id)

    Supporter Answered on May 5, 2017.

    Hi paras,

    I had already tried this locator. By that is not working. Did you know any other method to resolve this issue?

     

    on May 5, 2017.

    Hi,

    Could not check the updates , i hope u have solved the issue if not Xpath should work… n u have used it but seems it is not identifying the element.. try other combinations .. i have faced such issues and trying other combinations worked.

    I can try to  reproduce if you can pass the url . 🙂

    on May 10, 2017.
    Add Comment

    You can try by XPath.
    I have the same problem and I get crazy because my program don’t find WebElement.
    I don’t have a explication , but I will search.

    Train Answered on May 8, 2017.
    Add Comment

    Can you say me what are your tags?

    I think that your expression is incorrect.

    Try to find your correct path with Mozilla and FireBug.

    Mozilla is the best.

     

     

    Train Answered on May 8, 2017.
    Add Comment
  • Your Answer

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