I am using the treeview for two things:
1.) Click of an list-item in the treeview opens a new page with the children populated. 2.) Expand or collapse of the treeview using the setting, "persist: 'cookie'", since I need to know the collapsed list times done in step 1.
For testing, I need to write two test cases in Java for expand and collapse. Is there any way to get the id of the href of expand(+) or collapse(-) icon. So that I can get the id and call the click on that element.
Thanks in advance.