1. Open Chrome
2. Right click the element that you want to get xpath
3. select "Inspector"
4. Right click the selected source code
5. Select"Copy -> Copy Xpath"
1. Open Chrome
2. Right click the element that you want to get xpath
3. select "Inspector"
4. Right click the selected source code
5. Select"Copy -> Copy Xpath"
转载于:https://www.cnblogs.com/AlwinXu/p/5538494.html