Hello William, I have posted one example for your issue, In which i am iterating through the expanded nodes so that you can get the child node item text. I don't know it's correct way or not.
Note: To iterate through the child nodes parent node should be expanded. I wrote for node expansion and commented that code please have look.