XPath Tool可轻松提取、编辑任何网页上的 XPath 查询
XPath Tool Extension
1. 打开新标签并导航到任何网页(必须是http或者https开头的地址渲染的网页)
2. 同时按住 Ctrl-Shift-X(或 Mac 上的 Command-Shift-X),或单击工具栏中的图标,从而打开编辑控制台。
3. 点击`查询`旁边的`小图标`开启鼠标悬停选择元素的XPath表达式(查询框将不断更新以显示鼠标指针下方元素的 XPath 查询,结果框将显示当前查询的结果),再次点击`小图标`则关闭鼠标悬停选择功能,同时也可以按键盘上的`Escape`键关闭。
4. 除了步骤(3)中鼠标悬停选择外还可直接在控制台中编辑 XPath 查询。结果框将立即反映您的更改。
5. 同时控制台编辑框中支持输入CSS选择语法进行选择元素
6. 可以按住 Shift 键加方向键(上下)来操作编辑控制台显示位置,同时可以按住 Shift 键鼠标移入进行操作编辑控制台显示位置
7. 重复步骤(2)以关闭控制台。
Source Manifest.json
How to download and manually install XPath Tool extension for Chrome
Looking for a way to install XPath Tool extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install XPath Tool extensions manually, this article outlines two simple methods to effortlessly install XPath Tool extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download XPath Tool extension and manually install through Drag &Drop
If you ever need to manually install a XPath Tool extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the XPath Tool Extension by clicking the "Download CRX" button on the website.
Look for the XPath Tool extension you wish to install. Go to the website and download the XPath Tool extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for XPath Tool extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the XPath Tool extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download XPath Tool extension for Chrome and install in Developer Mode
This is another method to install XPath Tool extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the XPath Tool extension file
Select and download the XPath Tool extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the XPath Tool extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your XPath Tool extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the XPath Tool extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install XPath Tool extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
XPath Tester 14 12 ★ 176KiB
Extract Colors DevTool 14 7 ★ 85.14KiB
SelectorsHub - XPath Helper 14 1384 ★ 556KiB
HTFLOW Inline HTML CSS Extractor 14 5 ★ 206KiB
Eliminar Elemento por XPath 14 3 ★ 229KiB
XPath Helper 2.0 14 0 ★ 31.95KiB
XPath Helper for Google Chrome™ 14 4 ★ 212KiB
SelectorsHub Pro 14 12 ★ 839KiB
LetXPath 14 98 ★ 220KiB
网页转markdown 14 12 ★ 25.96KiB
Sitemap Generator 14 2 ★ 620KiB
CSS and XPath checker 14 45 ★ 75.17KiB
SnipCSS 14 32 ★ 13.12MiB
PageRip (HTML + CSS Extract) 14 54 ★ 434KiB
Page Edit 14 31 ★ 229KiB
Inspect CSS 14 24 ★ 404KiB
Xeedle - Get Relative, Index, Full XPath and Page Object File 14 26 ★ 1.1MiB
Text Picker 14 2 ★ 19.11KiB
Xpath Ninja 14 2 ★ 25.47KiB
XPathMax - XPath Generator 14 5 ★ 672KiB
CSS Selector Helper 14 60 ★ 91.27KiB
网页内容提取工具 14 1 ★ 31.82KiB
Universal Sitemap Checker 14 0 ★ 9.12KiB
Yandex Map Editor extension 14 20 ★ 5.18MiB