Can I DevTools?
Elements
Edit

In the Elements panel, click the "Copy" icon in the navigator, then select "Copy Xpath"