问题
Is there a way to combine both branch element id and the element id for the downward arrow so that I could click on downward arrow for that specific Branch?
回答1:
I would stay on the common "tr" level - getting the desired row by the "fancytree title" and then going down to the arrow-down "button":
//tr[.//span[@class = "fancytree-title" and . = "Branch 100"]]//span[@class = "userman-menu"]
来源:https://stackoverflow.com/questions/40292910/is-there-a-way-to-combine-both-branch-element-id-and-the-element-id-for-the-down