how to get the text value of the elements in the following figure-- Operation Plan Application
how to get the text value of the elements in the following figure-- Operation Plan Application
Click Element //a[text()='${text}']
this is fine. I thought that this xpath positioning did not take effect on pseudo elements, but later I found that I wrote the wrong tag. The tag I wrote before is actually li, should use a, and the label of which layer the text is under will be used.