谷歌xpath helper插件安装提示程序包无效

解决办法

1、将crx结尾的文件的后缀名改为rar。

2、解压,将路径下的_metadata改为metadata。

3、进入Chrome浏览器的加载扩展程序界面,点击"开发者模式",再点击“加载已解压的扩展程序”,选择解压目录,OK。

要启用,点击右上角图标即可。

提取,编辑和轻松评估XPath查询。 XPath的助手很容易提取,编辑,并在任何网页评估XPath查询。 重要提示安装此扩展后,必须重新加载任何现有的选项卡或重新启动Chrome浏览器扩展工作。 说明: 1.打开一个新的标签,并导航到任何网页。 2.按Ctrl-Shift键-X(或OS X命令移-X),或单击工具栏上的XPath的助手按钮,以打开XPath助手控制台。 3.按住Shift键将鼠标悬停在页面上的元素。查询框将不断更新,以显示鼠标指针下方的元件XPath查询,结果框将显示当前查询的结果。 4.如果需要,请在控制台直接编辑XPath查询。结果框会立即反映更改。 5.重复步骤(2)关闭控制台。 如果控制台在你的方式获得,按住Shift键,然后将鼠标移动到它; 它会移动到页面的相对侧。 一个忠告:当渲染HTML表格,浏览器插入人工<TBODY>标记到DOM,这将在随后通过该扩展提取查询显示出来。 Extract, edit, and evaluate XPath queries with ease. XPath Helper makes it easy to extract, edit, and evaluate XPath queries on any webpage. IMPORTANT: After installing this extension, you must reload any existing tabs or restart Chrome for the extension to work. Instructions: 1. Open a new tab and navigate to any webpage. 2. Hit Ctrl-Shift-X (or Command-Shift-X on OS X), or click the XPath Helper button in the toolbar, to open the XPath Helper console. 3. Hold down Shift as you mouse over elements on the page. The query box will continuously update to show the XPath query for the element below the mouse pointer, and the results box will show the results for the current query. 4. If desired, edit the XPath query directly in the console. The results box will immediately reflect your changes. 5. Repeat step (2) to close the console. If the console gets in your way, hold down Shift and then move your mouse over it; it will move to the opposite side of the page. One word of caution: When rendering HTML tables, Chrome inserts artificial <tbody> tags into the DOM, which will consequently show up in queries extracted by this extension.
谷歌浏览器有一些常用的XPath插件可以帮助你进行XPath语法规则的测试和调试,其最受欢迎的插件XPath Helper和Chrome XPath。 要安装XPath Helper插件,你可以按照以下步骤进行操作: 1. 打开谷歌浏览器,并在地址栏输入chrome://extensions/。 2. 在扩展程序页面的右上角,打开开发者模式。 3. 点击左上角的“加载已解压的扩展程序”按钮。 4. 在弹出的对话框选择下载并解压好的XPath Helper插件文件夹。 5. 完成后,XPath Helper插件将会出现在扩展程序列表,并且会自动启用。 安装成功后,你可以通过点击浏览器右上角的XPath Helper图标来使用该插件。它将在当前页面上显示XPath Helper工具栏,你可以在其输入XPath表达式并测试其效果。 另外,还有一款叫做Chrome XPath插件也可以用来进行XPath语法测试。你可以按照以下步骤安装Chrome XPath插件: 1. 打开谷歌浏览器,并在地址栏输入chrome://extensions/。 2. 在扩展程序页面的右上角,打开开发者模式。 3. 点击左上角的“加载已解压的扩展程序”按钮。 4. 在弹出的对话框选择下载并解压好的Chrome XPath插件文件夹。 5. 完成后,Chrome XPath插件将会出现在扩展程序列表,并且会自动启用。 安装成功后,你可以通过点击浏览器右上角的Chrome XPath图标来使用该插件。它将在当前页面上显示一个侧边栏,你可以在其输入XPath表达式并测试其效果。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

软件测试李同学

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值