如何在firefox inspector中找到元素的xpath [英] How to find xpath of an element in firefox inspector

查看:228
本文介绍了如何在firefox inspector中找到元素的xpath的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Firefox 50.1中,Firebug不再可用,所以我必须使用检查器,但是我找不到copy ---> Firebug中提供的xpath选项。如何使用检查器找到元素的xpath?

解决方案

firefox inspector已修复,已在Firefox 56 beta中验证,并已在Firefox 57 alpha中验证:
https://bugzilla.mozilla.org/show_bug.cgi?id=987877


In Firefox 50.1, Firebug is no longer available so I have to use the inspector but I cannot find copy ---> xpath option that was available in Firebug. How can I find the xpath of an element using the inspector?

解决方案

The bug related to losing ability to 'copy XPath' from firefox inspector is fixed, verified in Firefox 56 beta, and verified in Firefox 57 alpha: https://bugzilla.mozilla.org/show_bug.cgi?id=987877

这篇关于如何在firefox inspector中找到元素的xpath的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆