I was practising the exercise of Module 13. The first exercise is to login to sales force and create a new Lead to verify the name. I completed 50% part of it and very badly stuck on next half.
I was able to login the website Salesforce.com click on the Lead and click on the "New" tp create a new Lead. After I click on the "new" a light-box appears where we need to enter our name.
When i try to enter a Name in the lead Light-box pop up , it throws a “NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"html/body/div[5]/div[4]/div[2]/div[2]/div/div[2]/div/div[3]/div[1]/div/input"}”
I tried and google and spent half a day but unable to figure out why. Its it not a pop up or alert ,but still even with the full xpath Iam unable to handle this light-box pop up. On the same light-box pop if I click Save button it works.
PSB the code. I have tried my best with debugging as well. Need your input. The line highlighted in red below throws an error.