RE: How to find the id from the Expanding the tree node in selenium web driver using java. can you please put some code and tutorial for this?
Kindly share the code which you have tried for better understanding
FYI , Unable to locate element “- problem arises when
1. Your specified Xpath is wrong – refer http://toolsqa.com/selenium-webdriver/xpath-firebug-firepath/
solution: If you’re using firefox browser , add Plugin call “FireBug” and for chrome http://toolsqa.com/selenium-webdriver/xpath-helper/
2. when you tried to access the element before the page loads – refer http://toolsqa.com/selenium-webdriver/wait-commands/
Solution: Add wait command