Generate unique Xpath for a DOM element

Latest Version

Version
1.0
Update
December 24, 2013
Size
90.01KiB
Developer
Category
Users
56
Rating
1 ★
Manifest Version
2
Web Store Status
Languages Support
English (UK)
See more
Permissions
ActiveTab
ContextMenus
Notifications
See more

generate Xpath Extension

The main purpose of this extension is to generate a unique Xpath-for a given HTML DOM Element. It may so happen that that if the element has no attributes, it tries to create shortcut with respect to text. This needs lot of improvement and this is my first experiment with chrome extensions hence kindly excuse for some trivial mistakes.

Let me know if anything is not relevant or which may be missing.

Below are the few known issues which would be fixed soon.

1. have to fallback on the traditional xpath if no optimized xpath found.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx","name": "generate Xpath","description": "Generate unique Xpath for a DOM element","version": "1.0","permissions": ["activeTab","contextMenus","notifications"],"background": {"page": "background.html"},"content_scripts": [{"matches": ["http://*/*","https://*/*","file:///*/*"],"js": ["jquery.js","elementLocator.js","content_script.js"],"css": ["core.css"]}],"web_accessible_resources": ["jquery-2.0.3.min.map"],"manifest_version": 2,"browser_action": {"default_icon": {"19": "xpath.png"},"default_title": "xpath generator"}}
Read more

How to download and manually install generate Xpath extension for Chrome

Looking for a way to install generate Xpath 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 generate Xpath extensions manually, this article outlines two simple methods to effortlessly install generate Xpath extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download generate Xpath extension and manually install through Drag &Drop

If you ever need to manually install a generate Xpath 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 generate Xpath Extension by clicking the "Download CRX" button on the website.

Look for the generate Xpath extension you wish to install. Go to the website and download the generate Xpath extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for generate Xpath 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 generate Xpath 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 generate Xpath extension for Chrome and install in Developer Mode

This is another method to install generate Xpath 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 generate Xpath extension file

Select and download the generate Xpath 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 generate Xpath 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 generate Xpath 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 generate Xpath 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 generate Xpath extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

ChroPath Extension · Developer Tools 56 1167 ★ 540KiB

icon

XPath Helper Extension · Developer Tools 56 597 ★ 247KiB

icon

XPathMax - XPath Generator Extension · Developer Tools 56 5 ★ 672KiB

icon

XPath tool Extension · Developer Tools 56 5 ★ 20.82KiB

icon

xpath creator Extension · Developer Tools 56 1 ★ 39.09KiB

icon

XPath Helper Wizard Extension · Developer Tools 56 43 ★ 139KiB

icon

CSS and XPath checker Extension · Developer Tools 56 45 ★ 75.17KiB

icon

XPATH Builder Extension · Developer Tools 56 3 ★ 16.32KiB

icon

CSS Selector Helper Extension · Developer Tools 56 60 ★ 91.27KiB

icon

Relative XPath Helper Extension · Developer Tools 56 50 ★ 350KiB

icon

PEGA - XPath Builder Extension · Productivity 56 18 ★ 1.71MiB

icon

xpathCut Extension · Developer Tools 56 2 ★ 19.52KiB

icon

Element Locator Extension · Developer Tools 56 22 ★ 264KiB

icon

xPath Finder Extension · Developer Tools 56 34 ★ 15.28KiB

icon

XTag Selector: Visual selection for trackers Extension · Developer Tools 56 2 ★ 70.08KiB

icon

Ruto - XPath Finder Extension · Developer Tools 56 71 ★ 1.82MiB

icon

Find.By Extension · Developer Tools 56 2 ★ 79.31KiB

icon

Selenium Page Object Generator Extension · Developer Tools 56 64 ★ 335KiB

icon

Link to Element Extension · Accessibility 56 0 ★ 28.25KiB

icon

Ranorex Selocity Extension · Developer Tools 56 51 ★ 6.59MiB

icon

TruePath Extension · Developer Tools 56 26 ★ 182KiB

icon

Page Object Generator By Storm Extension · Developer Tools 56 1 ★ 295KiB

icon

POM Builder – Auto-generate CSS/XPath Locator Extension · Developer Tools 56 28 ★ 1.98MiB

icon

Selenium Object Finder Extension · Developer Tools 56 20 ★ 181KiB